Skip to content

Commit cb2a3ae

Browse files
committed
fix android sdk version
1 parent e27e706 commit cb2a3ae

File tree

3 files changed

+10
-23
lines changed

3 files changed

+10
-23
lines changed

app/build.gradle

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 27
5-
buildToolsVersion "27.0.3"
4+
compileSdkVersion 28
65

76
signingConfigs {
87
demokey {
@@ -15,7 +14,7 @@ android {
1514
defaultConfig {
1615
applicationId "com.hzy.p7zip.app"
1716
minSdkVersion 15
18-
targetSdkVersion 27
17+
targetSdkVersion 28
1918
versionCode 4
2019
versionName "1.5"
2120
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -35,15 +34,12 @@ android {
3534

3635
dependencies {
3736
implementation fileTree(include: ['*.jar'], dir: 'libs')
38-
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
39-
exclude group: 'com.android.support', module: 'support-annotations'
40-
})
4137
testImplementation 'junit:junit:4.12'
42-
implementation 'com.android.support:appcompat-v7:27.1.1'
43-
implementation 'com.android.support:design:27.1.1'
44-
implementation 'com.android.support:cardview-v7:27.1.1'
38+
implementation 'com.android.support:appcompat-v7:28.0.0'
39+
implementation 'com.android.support:design:28.0.0'
40+
implementation 'com.android.support:cardview-v7:28.0.0'
4541
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
46-
implementation 'com.blankj:utilcode:1.19.0'
42+
implementation 'com.blankj:utilcode:1.22.1'
4743
implementation 'com.afollestad.material-dialogs:commons:0.9.6.0'
4844
implementation 'com.jakewharton:butterknife:8.8.1'
4945
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
google()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.1.3'
9+
classpath 'com.android.tools.build:gradle:3.1.4'
1010

1111
// NOTE: Do not place your application dependencies here; they belong
1212
// in the individual module build.gradle files

libp7zip/build.gradle

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 27
5-
buildToolsVersion "27.0.3"
4+
compileSdkVersion 28
65

76
defaultConfig {
87
minSdkVersion 15
9-
targetSdkVersion 27
8+
targetSdkVersion 28
109
versionCode 5
1110
versionName "1.5.0"
1211
ndk {
@@ -26,10 +25,6 @@ android {
2625
}
2726
}
2827
}
29-
release {
30-
minifyEnabled false
31-
proguardFiles.add(file('proguard-rules.pro'))
32-
}
3328
}
3429
externalNativeBuild {
3530
cmake {
@@ -39,9 +34,5 @@ android {
3934
}
4035

4136
dependencies {
42-
compile fileTree(dir: 'libs', include: ['*.jar'])
43-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
44-
exclude group: 'com.android.support', module: 'support-annotations'
45-
})
46-
testCompile 'junit:junit:4.12'
37+
implementation fileTree(dir: 'libs', include: ['*.jar'])
4738
}

0 commit comments

Comments
 (0)