Skip to content

Commit 9416103

Browse files
committed
1.更新AS gradle插件版本到3.5.1。
1 parent 6a8a505 commit 9416103

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

UMLibrary/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ android {
1010
versionCode 1
1111
versionName "1.0"
1212

13-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
14-
1513
}
1614
buildTypes {
1715
release {
@@ -32,7 +30,7 @@ android {
3230
}
3331

3432
// Move the tests to tests/java, tests/res, etc...
35-
instrumentTest.setRoot('tests')
33+
//instrumentTest.setRoot('tests')
3634

3735
// Move the build types to build-types/<type>
3836
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
@@ -46,6 +44,6 @@ android {
4644
}
4745

4846
dependencies {
49-
compile fileTree(dir: 'libs', include: ['*.jar'])
47+
api fileTree(dir: 'libs', include: ['*.jar'])
5048

5149
}

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ dependencies {
3939
// compile project(':push')
4040
//compile files('libs/umeng-analytics-7.4.1.jar')
4141
//compile files('libs/umeng-common-1.4.2.jar')
42-
compile project(':UMLibrary')
43-
compile 'com.twitter.sdk.android:twitter-core:3.1.1'
44-
compile 'com.twitter.sdk.android:tweet-composer:3.1.1'
42+
api project(':UMLibrary')
43+
implementation 'com.twitter.sdk.android:twitter-core:3.1.1'
44+
implementation 'com.twitter.sdk.android:tweet-composer:3.1.1'
4545

46-
compile 'com.sina.weibo.sdk:core:4.4.3:openDefaultRelease@aar'
46+
implementation 'com.sina.weibo.sdk:core:4.4.3:openDefaultRelease@aar'
4747
}

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
buildscript {
44
repositories {
55
jcenter()
6+
google()
67
maven { url "https://dl.bintray.com/thelasterstar/maven/" }
78
}
89
dependencies {
9-
classpath 'com.android.tools.build:gradle:2.3.3'
10+
classpath 'com.android.tools.build:gradle:3.5.1'
1011

1112
// NOTE: Do not place your application dependencies here; they belong
1213
// in the individual module build.gradle files
@@ -16,6 +17,7 @@ buildscript {
1617
allprojects {
1718
repositories {
1819
jcenter()
20+
google()
1921
maven { url "https://dl.bintray.com/thelasterstar/maven/" }
2022
}
2123
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ 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-3.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

0 commit comments

Comments
 (0)