Skip to content

Commit c8e77de

Browse files
committed
Update gradle version
1 parent 55b8ee0 commit c8e77de

File tree

5 files changed

+25
-24
lines changed

5 files changed

+25
-24
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
jcenter()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.0.1'
9+
classpath 'com.android.tools.build:gradle:3.1.4'
1010
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
1111
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
1212
classpath 'com.github.megatronking.stringfog:gradle-plugin:2.0.0'
@@ -18,6 +18,7 @@ buildscript {
1818

1919
allprojects {
2020
repositories {
21+
google()
2122
jcenter()
2223
}
2324
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Dec 28 10:00:20 PST 2015
1+
#Thu Nov 15 15:32:55 CST 2018
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

stringfog-gradle-plugin/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ apply plugin: 'groovy'
22
//apply plugin: 'maven'
33

44
dependencies {
5-
compile gradleApi()
6-
compile localGroovy()
7-
compile 'com.android.tools.build:gradle:2.2.0'
8-
compile 'org.ow2.asm:asm-all:5.0.4'
9-
compile 'com.squareup:javapoet:1.9.0'
10-
compile project(':stringfog-interface')
5+
implementation gradleApi()
6+
implementation localGroovy()
7+
implementation 'com.android.tools.build:gradle:2.2.0'
8+
implementation 'org.ow2.asm:asm-all:5.0.4'
9+
implementation 'com.squareup:javapoet:1.9.0'
10+
implementation project(':stringfog-interface')
1111
}
1212

1313
sourceSets {

stringfog-sample-app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ stringfog {
1212
}
1313

1414
android {
15-
compileSdkVersion 25
15+
compileSdkVersion 28
1616
defaultConfig {
1717
applicationId "com.github.megatronking.stringfog"
1818
minSdkVersion 15
19-
targetSdkVersion 25
19+
targetSdkVersion 28
2020
versionCode 1
2121
versionName "1.0"
2222
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -30,14 +30,14 @@ android {
3030
}
3131

3232
dependencies {
33-
compile fileTree(dir: 'libs', include: ['*.jar'])
34-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
33+
implementation fileTree(dir: 'libs', include: ['*.jar'])
34+
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
3535
exclude group: 'com.android.support', module: 'support-annotations'
3636
})
37-
compile 'com.android.support:appcompat-v7:25.1.1'
38-
compile project(':stringfog-sample-library')
39-
testCompile 'junit:junit:4.12'
37+
implementation 'com.android.support:appcompat-v7:28.0.0'
38+
implementation project(':stringfog-sample-library')
39+
testImplementation 'junit:junit:4.12'
4040

4141
// xor加解密库,stringfog中的implementation需依赖此库
42-
compile 'com.github.megatronking.stringfog:xor:1.0.0'
42+
implementation 'com.github.megatronking.stringfog:xor:1.0.0'
4343
}

stringfog-sample-library/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ stringfog {
1111
}
1212

1313
android {
14-
compileSdkVersion 26
14+
compileSdkVersion 28
1515
defaultConfig {
1616
minSdkVersion 15
17-
targetSdkVersion 26
17+
targetSdkVersion 28
1818
versionCode 1
1919
versionName "1.0"
2020

@@ -30,11 +30,11 @@ android {
3030
}
3131

3232
dependencies {
33-
compile fileTree(dir: 'libs', include: ['*.jar'])
34-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
33+
implementation fileTree(dir: 'libs', include: ['*.jar'])
34+
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
3535
exclude group: 'com.android.support', module: 'support-annotations'
3636
})
37-
compile 'com.android.support:appcompat-v7:26.+'
38-
compile 'com.github.megatronking.stringfog:xor:1.0.0'
39-
testCompile 'junit:junit:4.12'
37+
implementation 'com.android.support:appcompat-v7:28.0.0'
38+
implementation 'com.github.megatronking.stringfog:xor:1.0.0'
39+
testImplementation 'junit:junit:4.12'
4040
}

0 commit comments

Comments
 (0)