File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ Step 2. Add the dependency
4646 implementation 'com.github.TutorialsAndroid:FilePicker:v9.0.1'
4747 }
4848
49+ Step 2. Or instead of using jitpack you can use ``` mavenCentral() ```
50+
51+ dependencies {
52+ implementation 'io.github.tutorialsandroid:filepicker:9.0.2'
53+ }
54+
4955### Usage
5056
5157** If you are targeting Android 10 or higher. Set this to your manifest**
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ buildscript {
1717 }
1818}
1919apply plugin : ' io.github.gradle-nexus.publish-plugin'
20+ apply from : " ${ rootDir} /scripts/publish-root.gradle"
2021
2122allprojects {
2223 repositories {
@@ -28,12 +29,6 @@ allprojects {
2829 }
2930}
3031
31- nexusPublishing {
32- repositories {
33- sonatype()
34- }
35- }
36-
3732task clean (type : Delete ) {
3833 delete rootProject. buildDir
3934}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ group='com.github.TutorialsAndroid'
44
55ext {
66 PUBLISH_GROUP_ID = ' io.github.tutorialsandroid'
7- PUBLISH_VERSION = ' 9.0.0 '
7+ PUBLISH_VERSION = ' 9.0.2 '
88 PUBLISH_ARTIFACT_ID = ' filepicker'
99 PUBLISH_DESCRIPTION = ' Android Library to select files/directories from Device Storage'
1010 PUBLISH_URL = ' https://github.com/TutorialsAndroid/FilePicker'
2121 PUBLISH_SCM_URL =
2222 ' https://github.com/tutorialsandroid/filepicker/tree/master'
2323}
24+ apply from : " ${ rootProject.projectDir} /scripts/publish-module.gradle"
2425
2526android {
2627 compileSdk 34
@@ -46,19 +47,8 @@ android {
4647 }
4748}
4849
49- publishing {
50- publications {
51- release(MavenPublication ) {
52- groupId = PUBLISH_GROUP_ID
53- artifactId = PUBLISH_ARTIFACT_ID
54- version = PUBLISH_VERSION
55-
56- from components. findByName(' release' )
57- artifact(" $buildDir /outputs/aar/library-release.aar" )
58- }
59- }
60-
61- tasks. named(' publishReleasePublicationToMavenLocal' ) {
62- dependsOn tasks. named(' bundleReleaseAar' )
63- }
50+ dependencies {
51+ implementation fileTree(include : [' *.jar' ], dir : ' libs' )
52+ implementation ' androidx.appcompat:appcompat:1.6.1'
53+ implementation ' com.google.android.material:material:1.11.0-alpha02'
6454}
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
77 applicationId " com.developer.filepicker.file"
88 minSdkVersion 19
99 targetSdkVersion 34
10- versionCode 8
11- versionName " 9.0.0 "
10+ versionCode 10
11+ versionName " 9.0.2 "
1212 }
1313 buildTypes {
1414 release {
You can’t perform that action at this time.
0 commit comments