File tree 4 files changed +29
-23
lines changed
4 files changed +29
-23
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
android {
4
- compileSdkVersion 30
5
- buildToolsVersion " 30.0.1"
4
+ compileSdkVersion 32
6
5
7
6
defaultConfig {
8
7
applicationId " com.zjy.androidpdfhelper"
9
- minSdkVersion 21
10
- targetSdkVersion 30
8
+ minSdkVersion 19
11
9
versionCode 1
12
10
versionName " 1.0"
13
11
@@ -20,15 +18,19 @@ android {
20
18
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
21
19
}
22
20
}
21
+ compileOptions {
22
+ sourceCompatibility JavaVersion . VERSION_1_8
23
+ targetCompatibility JavaVersion . VERSION_1_8
24
+ }
23
25
}
24
26
25
27
dependencies {
26
- implementation fileTree(dir : " libs" , include : [" *.jar" ])
27
28
implementation project(' :pdfview' )
28
- implementation ' androidx.appcompat:appcompat:1.2.0'
29
- implementation ' androidx.constraintlayout:constraintlayout:2.0.4'
30
- testImplementation ' junit:junit:4.12'
31
- androidTestImplementation ' androidx.test.ext:junit:1.1.2'
32
- androidTestImplementation ' androidx.test.espresso:espresso-core:3.3.0'
29
+ implementation ' androidx.core:core-ktx:1.8.0'
30
+ implementation ' androidx.appcompat:appcompat:1.5.0'
31
+ implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
32
+ testImplementation ' junit:junit:4.13.2'
33
+ androidTestImplementation ' androidx.test.ext:junit:1.1.3'
34
+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0'
33
35
34
36
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
jcenter()
6
6
}
7
7
dependencies {
8
- classpath " com.android.tools.build:gradle:4.0.1 "
8
+ classpath " com.android.tools.build:gradle:7.2.2 "
9
9
10
10
// NOTE: Do not place your application dependencies here; they belong
11
11
// in the individual module build.gradle files
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.1.1 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -all.zip
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
+
3
4
android {
4
- compileSdkVersion 30
5
- buildToolsVersion " 30.0.1"
5
+ compileSdkVersion 32
6
6
7
7
defaultConfig {
8
8
minSdkVersion 19
9
- targetSdkVersion 30
10
9
versionCode 1
11
- versionName " 1.0.0 "
10
+ versionName " 1.0"
12
11
13
- testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
14
- consumerProguardFiles " consumer-rules.pro"
12
+ testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
15
13
}
16
14
17
15
buildTypes {
@@ -20,12 +18,18 @@ android {
20
18
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
21
19
}
22
20
}
21
+ compileOptions {
22
+ sourceCompatibility JavaVersion . VERSION_1_8
23
+ targetCompatibility JavaVersion . VERSION_1_8
24
+ }
23
25
}
24
26
25
27
dependencies {
26
- implementation fileTree(dir : " libs" , include : [" *.jar" ])
27
- implementation ' androidx.appcompat:appcompat:1.2.0'
28
- implementation ' androidx.constraintlayout:constraintlayout:2.0.1'
29
- implementation ' androidx.recyclerview:recyclerview:1.0.0'
30
- implementation ' com.squareup.okhttp3:okhttp:4.2.0'
28
+
29
+ implementation ' androidx.core:core-ktx:1.8.0'
30
+ implementation ' androidx.appcompat:appcompat:1.5.0'
31
+ implementation ' com.google.android.material:material:1.6.1'
32
+ implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
33
+ implementation ' androidx.recyclerview:recyclerview:1.2.1'
34
+ implementation ' com.squareup.okhttp3:okhttp:4.9.3'
31
35
}
You can’t perform that action at this time.
0 commit comments