Skip to content

Commit 5fff848

Browse files
authored
Update dependencies (#8)
* Update dependencies :: Patch 1 * Update dependencies :: Patch 2 * Update dependencies :: Patch 3 * Update dependencies :: Patch 4
1 parent f419406 commit 5fff848

File tree

8 files changed

+36
-29
lines changed

8 files changed

+36
-29
lines changed

app/build.gradle

+5-4
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ android {
2626
dataBinding true
2727
}
2828
compileOptions {
29-
sourceCompatibility JavaVersion.VERSION_1_8
30-
targetCompatibility JavaVersion.VERSION_1_8
29+
sourceCompatibility JavaVersion.VERSION_17
30+
targetCompatibility JavaVersion.VERSION_17
3131
}
32+
namespace 'com.shz.imagepicker.imagepickerapp'
3233
}
3334

3435
dependencies {
3536
implementation project(':imagepicker')
3637
implementation 'com.github.bumptech.glide:glide:4.13.2'
3738
kapt 'com.github.bumptech.glide:compiler:4.13.2'
38-
implementation 'androidx.appcompat:appcompat:1.5.1'
39-
implementation 'com.google.android.material:material:1.6.1'
39+
implementation 'androidx.appcompat:appcompat:1.6.1'
40+
implementation 'com.google.android.material:material:1.9.0'
4041
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
4142
}

app/src/main/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.shz.imagepicker.imagepickerapp">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.CAMERA" />
65
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />

build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ buildscript {
44
mavenCentral()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:7.3.1'
7+
classpath 'com.android.tools.build:gradle:8.0.2'
88
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10'
9-
//classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.20.0"
109
}
1110
}
1211

gradle.properties

+3
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
1717
android.useAndroidX=true
1818
# Automatically convert third-party libraries to use AndroidX
1919
android.enableJetifier=true
20+
android.defaults.buildfeatures.buildconfig=true
21+
android.nonTransitiveRClass=false
22+
android.nonFinalResIds=false
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Tue Dec 13 18:15:08 EET 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

imagepicker/build.gradle

+23-17
Original file line numberDiff line numberDiff line change
@@ -6,45 +6,51 @@ plugins {
66

77
def libraryGroupId = 'com.shz.imagepicker'
88
def libraryArtifactId = 'imagepicker'
9-
def libraryVersion = '2.0.1'
9+
def libraryVersion = '2.0.3'
1010

1111

1212
android {
1313
compileSdkVersion 33
14-
1514
defaultConfig {
1615
minSdkVersion 16
1716
targetSdkVersion 33
1817

1918
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2019
consumerProguardFiles "consumer-rules.pro"
2120
}
22-
21+
publishing {
22+
singleVariant("release") {
23+
withSourcesJar()
24+
withJavadocJar()
25+
}
26+
}
2327
buildTypes {
2428
release {
2529
minifyEnabled false
2630
}
2731
}
2832
compileOptions {
29-
sourceCompatibility JavaVersion.VERSION_1_8
30-
targetCompatibility JavaVersion.VERSION_1_8
33+
sourceCompatibility JavaVersion.VERSION_17
34+
targetCompatibility JavaVersion.VERSION_17
3135
}
36+
namespace 'com.shz.imagepicker.imagepicker'
3237
}
3338

3439
dependencies {
35-
implementation "androidx.appcompat:appcompat:1.5.1"
36-
implementation "androidx.recyclerview:recyclerview:1.2.1"
37-
implementation "androidx.exifinterface:exifinterface:1.3.5"
40+
implementation "androidx.appcompat:appcompat:1.6.1"
41+
implementation "androidx.recyclerview:recyclerview:1.3.1"
42+
implementation "androidx.exifinterface:exifinterface:1.3.6"
3843
}
3944

40-
publishing {
41-
publications {
42-
aar(MavenPublication) {
43-
groupId libraryGroupId
44-
version libraryVersion
45-
artifactId libraryArtifactId
46-
47-
artifact("$buildDir/outputs/aar/${artifactId}-release.aar")
45+
afterEvaluate {
46+
publishing {
47+
publications {
48+
release(MavenPublication) {
49+
from components.release
50+
groupId libraryGroupId
51+
version libraryVersion
52+
artifactId libraryArtifactId
53+
}
4854
}
4955
}
50-
}
56+
}

imagepicker/src/main/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.shz.imagepicker.imagepicker">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.CAMERA" />
65
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

jitpack.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
jdk:
2-
- openjdk11
2+
- openjdk17

0 commit comments

Comments
 (0)