Skip to content

Commit 8acb67e

Browse files
Added Partial Support For Android 13 and Above
1 parent bd8fbce commit 8acb67e

4 files changed

Lines changed: 15 additions & 24 deletions

File tree

Readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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**

build.gradle

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ buildscript {
1717
}
1818
}
1919
apply plugin: 'io.github.gradle-nexus.publish-plugin'
20+
apply from: "${rootDir}/scripts/publish-root.gradle"
2021

2122
allprojects {
2223
repositories {
@@ -28,12 +29,6 @@ allprojects {
2829
}
2930
}
3031

31-
nexusPublishing {
32-
repositories {
33-
sonatype()
34-
}
35-
}
36-
3732
task clean(type: Delete) {
3833
delete rootProject.buildDir
3934
}

library/build.gradle

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ group='com.github.TutorialsAndroid'
44

55
ext {
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'
@@ -21,6 +21,7 @@ ext {
2121
PUBLISH_SCM_URL =
2222
'https://github.com/tutorialsandroid/filepicker/tree/master'
2323
}
24+
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle"
2425

2526
android {
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
}

sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)