File tree Expand file tree Collapse file tree 4 files changed +29
-23
lines changed Expand file tree Collapse file tree 4 files changed +29
-23
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33android {
4- compileSdkVersion 30
5- buildToolsVersion " 30.0.1"
4+ compileSdkVersion 32
65
76 defaultConfig {
87 applicationId " com.zjy.androidpdfhelper"
9- minSdkVersion 21
10- targetSdkVersion 30
8+ minSdkVersion 19
119 versionCode 1
1210 versionName " 1.0"
1311
@@ -20,15 +18,19 @@ android {
2018 proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
2119 }
2220 }
21+ compileOptions {
22+ sourceCompatibility JavaVersion . VERSION_1_8
23+ targetCompatibility JavaVersion . VERSION_1_8
24+ }
2325}
2426
2527dependencies {
26- implementation fileTree(dir : " libs" , include : [" *.jar" ])
2728 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'
3335
3436}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
55 jcenter()
66 }
77 dependencies {
8- classpath " com.android.tools.build:gradle:4.0.1 "
8+ classpath " com.android.tools.build:gradle:7.2.2 "
99
1010 // NOTE: Do not place your application dependencies here; they belong
1111 // 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
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =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 11apply plugin : ' com.android.library'
22
3+
34android {
4- compileSdkVersion 30
5- buildToolsVersion " 30.0.1"
5+ compileSdkVersion 32
66
77 defaultConfig {
88 minSdkVersion 19
9- targetSdkVersion 30
109 versionCode 1
11- versionName " 1.0.0 "
10+ versionName " 1.0"
1211
13- testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
14- consumerProguardFiles " consumer-rules.pro"
12+ testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1513 }
1614
1715 buildTypes {
@@ -20,12 +18,18 @@ android {
2018 proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
2119 }
2220 }
21+ compileOptions {
22+ sourceCompatibility JavaVersion . VERSION_1_8
23+ targetCompatibility JavaVersion . VERSION_1_8
24+ }
2325}
2426
2527dependencies {
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'
3135}
You can’t perform that action at this time.
0 commit comments