Skip to content

Commit 1155101

Browse files
committed
[ADD] 修改依赖,升级依赖版本.
1 parent a1a803d commit 1155101

File tree

3 files changed

+19
-22
lines changed

3 files changed

+19
-22
lines changed

app/build.gradle

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,38 @@ apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33

44
android {
5-
compileSdkVersion 24
6-
buildToolsVersion "25.0.2"
5+
compileSdkVersion 27
6+
77
defaultConfig {
88
applicationId "com.blanke.mdwechat"
99
minSdkVersion 21
10-
targetSdkVersion 23
10+
targetSdkVersion 27
1111
versionCode 29
1212
versionName "1.9.0"
13-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1413
}
1514
buildTypes {
1615
release {
1716
minifyEnabled false
1817
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1918
}
2019
}
21-
lintOptions {
22-
disable 'MissingTranslation'
23-
}
2420
}
2521

2622
dependencies {
27-
compile fileTree(include: ['*.jar'], dir: 'libs')
28-
compile 'com.android.support:support-v4:23.2.1'
23+
implementation fileTree(dir: 'libs', include: ['*.jar'])
24+
implementation 'com.android.support:appcompat-v7:27.0.2'
2925

30-
provided 'de.robv.android.xposed:api:82'
31-
provided 'de.robv.android.xposed:api:82:sources'
26+
compileOnly 'de.robv.android.xposed:api:53'
27+
compileOnly 'de.robv.android.xposed:api:53:sources'
3228

33-
compile project(':fab-lib')
34-
compile project(':tablayout-lib')
35-
compile project(':ColorPicker')
29+
implementation 'com.github.gh0u1l5:wechat-spellbook:0.0.2'
3630

37-
compile 'com.google.code.gson:gson:2.8.1'
38-
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
39-
}
40-
repositories {
41-
mavenCentral()
31+
implementation project(':fab-lib')
32+
implementation project(':tablayout-lib')
33+
implementation project(':ColorPicker')
34+
35+
implementation 'com.google.code.gson:gson:2.8.2'
36+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
4237
}
4338

4439
// 每次修改运行后自动让 VXP 中的模块`即时生效` ,需要将 (Debug Configurations) - Before Launch - Gradle aware Make - 修改为 :app:installDebug

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.1.51'
4+
ext.kotlin_version = '1.2.31'
55
repositories {
6+
google()
67
jcenter()
78
}
89
dependencies {
9-
classpath 'com.android.tools.build:gradle:2.3.3'
10+
classpath 'com.android.tools.build:gradle:3.1.1'
1011
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1112

1213
// NOTE: Do not place your application dependencies here; they belong
@@ -17,6 +18,7 @@ buildscript {
1718
allprojects {
1819
repositories {
1920
jcenter()
21+
google()
2022
}
2123
}
2224

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-4.4-all.zip

0 commit comments

Comments
 (0)