Skip to content

Commit

Permalink
Merge pull request #15 from ChochaNaresh/Dev
Browse files Browse the repository at this point in the history
- bug fixed
  • Loading branch information
ChochaNaresh authored May 31, 2023
2 parents d601569 + cb7aaa4 commit 106388c
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 23 deletions.
2 changes: 2 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ dependencies {
// File Picker
implementation(project(":filepickerlibrary"))

// implementation ("com.github.ChochaNaresh:FilePicker:0.0.9")

// timber
implementation("com.jakewharton.timber:timber:5.0.1")

Expand Down
7 changes: 0 additions & 7 deletions build.gradle

This file was deleted.

11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application").version("8.0.2").apply(false)
id("com.android.library").version("8.0.2").apply(false)
kotlin("android").version("1.8.21").apply(false)
id("io.gitlab.arturbosch.detekt").version("1.22.0").apply(false)
}

tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
4 changes: 0 additions & 4 deletions buildSrc/build.gradle.kts

This file was deleted.

7 changes: 0 additions & 7 deletions buildSrc/src/main/java /Dependencies.kt

This file was deleted.

25 changes: 22 additions & 3 deletions filepickerlibrary/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ android {

defaultConfig {
minSdk = 21
targetSdk = 33
// targetSdk = 33

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -69,23 +69,42 @@ dependencies {
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
}
/*
publishing {
(publications) {
create<MavenPublication>("release") {
groupId = "com.github.ChochaNaresh"
artifactId = "FilePicker"
version = "${project.version}"
afterEvaluate(components.get("release"))
// from(components["release"])
}
/*release(MavenPublication) {
*//*release(MavenPublication) {
groupId = "com.github.ChochaNaresh"
artifactId = "FilePicker"
version = "0.0.1"
afterEvaluate {
from = components . release
}
}*/
}*//*
}
}
*/
publishing {
publications {
create<MavenPublication>("release") {
groupId = "com.github.ChochaNaresh"
artifactId = "FilePicker"
version = "0.0.1"

afterEvaluate {
from(components["release"])
/* from {
components.release
}*/
}
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ internal class PopUpActivity : AppCompatActivity() {
is DocumentFilePickerConfig -> {
intentResultLauncher.launch(
FilePicker.Builder(this).pickDocumentFileBuild(item),

)
}
}
Expand Down
3 changes: 2 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { setUrl("https://jitpack.io") }
}
}
rootProject.name = "FilePicker"
include(":app",":filepickerlibrary")
include(":app", ":filepickerlibrary")

0 comments on commit 106388c

Please sign in to comment.