@@ -5,11 +5,11 @@ plugins {
55}
66
77android {
8- compileSdkVersion 33
8+ compileSdkVersion 36
99
1010 defaultConfig {
11- minSdkVersion 19
12- targetSdkVersion 33
11+ minSdkVersion 21
12+ targetSdkVersion 36
1313
1414 vectorDrawables. useSupportLibrary = true
1515 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -23,8 +23,8 @@ android {
2323 }
2424 }
2525 compileOptions {
26- sourceCompatibility JavaVersion . VERSION_1_8
27- targetCompatibility JavaVersion . VERSION_1_8
26+ sourceCompatibility JavaVersion . VERSION_11
27+ targetCompatibility JavaVersion . VERSION_11
2828 }
2929 namespace ' ir.smartdevelopers.smartfilebrowser'
3030 publishing {
@@ -34,69 +34,72 @@ android {
3434 }
3535}
3636group = ' ir.smartdevelopers'
37- version = ' 1.5.2 '
37+ version = ' 2.0.3 '
3838
3939dependencies {
4040
41- implementation ' androidx.appcompat:appcompat:1.6.1'
42- implementation ' com.google.android.material:material:1.9.0'
43- implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
44- implementation ' com.github.bumptech.glide:glide:4.12.0'
41+ implementation libs. appcompat
42+ implementation libs. androidxcore
43+ implementation libs. material
44+ implementation libs. activity
45+ implementation libs. constraintlayout
4546
46- annotationProcessor ' com.github.bumptech.glide:compiler:4.11.0'
47- implementation ' com.github.aurelhubert:ahbottomnavigation:v2.3.4'
47+ implementation libs. glide
4848
49- implementation ' com.github.smartdevelopers-ir:PhotoEditor:1.1.3'
49+ annotationProcessor libs. compiler
50+ implementation libs. ahbottomnavigation
5051
52+ implementation libs. photoeditor
53+ // implementation libs.wix.playground.ahbottomnavigation
5154}
55+ afterEvaluate {
56+ publishing {
57+ publications {
58+ release(MavenPublication ) {
5259
53- publishing {
54- publications {
55- release(MavenPublication ) {
56- afterEvaluate {
5760 from components. release
58- }
59- groupId = ' ir.smartdevelopers'
60- artifactId = ' smart-file-picker'
6161
62- pom {
63- name = ' smart-file-picker'
64- description = ' pick file easilly'
65- url = ' https://github.com/smartdevelopers-ir/SmartFilePicker'
62+ groupId = ' ir.smartdevelopers'
63+ artifactId = ' smart-file-picker'
64+
65+ pom {
66+ name = ' smart-file-picker'
67+ description = ' pick file easilly'
68+ url = ' https://github.com/smartdevelopers-ir/SmartFilePicker'
6669
67- licenses {
68- license {
69- name = ' The Apache License, Version 2.0'
70- url = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
70+ licenses {
71+ license {
72+ name = ' The Apache License, Version 2.0'
73+ url = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
74+ }
7175 }
72- }
73- developers {
74- developer {
75- id = ' smartdevelopers'
76- name = ' mostafa babaei'
77- email = ' info@smartdevelopers.ir'
76+ developers {
77+ developer {
78+ id = ' smartdevelopers'
79+ name = ' mostafa babaei'
80+ email = ' info@smartdevelopers.ir'
81+ }
82+ }
83+ scm {
84+ connection = ' scm:git:git://github.com/smartdevelopers-ir/SmartFilePicker.git'
85+ developerConnection = ' scm:git:ssh://github.com/smartdevelopers-ir/SmartFilePicker.git'
86+ url = ' http://github.com/smartdevelopers-ir/SmartFilePicker'
7887 }
79- }
80- scm {
81- connection = ' scm:git:git://github.com/smartdevelopers-ir/SmartFilePicker.git'
82- developerConnection = ' scm:git:ssh://github.com/smartdevelopers-ir/SmartFilePicker.git'
83- url = ' http://github.com/smartdevelopers-ir/SmartFilePicker'
84- }
8588
89+ }
8690 }
8791 }
88- }
89- repositories {
90- maven {
91- // change URLs to point to your repos, e.g. http://my.org/repo
92- def releasesRepoUrl = " $b uildDir /repos/releases "
93- def snapshotsRepoUrl = " $b uildDir /repos/snapshots "
94- url = version . endsWith( ' SNAPSHOT ' ) ? snapshotsRepoUrl : releasesRepoUrl
92+ repositories {
93+ maven {
94+ // change URLs to point to your repos, e.g. http://my.org/repo
95+ def releasesRepoUrl = " ${ layout.buildDirectory.asFile.get() } /repos/releases "
96+ def snapshotsRepoUrl = " ${ layout.buildDirectory.asFile.get() } /repos/snapshots "
97+ url = version . endsWith( ' SNAPSHOT ' ) ? snapshotsRepoUrl : releasesRepoUrl
98+ }
9599 }
96100 }
97101}
98102
99-
100103signing {
101104 sign configurations. archives
102105}
0 commit comments