Skip to content

Commit ca6503b

Browse files
committed
chore(build): upgrade version to 1.2.1
1 parent 2132388 commit ca6503b

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ apply plugin: 'com.android.application'
22

33
dependencies {
44
compile fileTree(dir: 'libs', include: ['*.jar'])
5-
compile "com.android.support:appcompat-v7:23.1.1"
6-
compile "com.android.support:multidex:1.0.1"
5+
compile "com.android.support:appcompat-v7:25.3.1"
6+
compile "com.android.support:multidex:1.0.2"
77

88
//无需引入tinker的任何库,使用tinkerpatch sdk即可
99
compile("com.tinkerpatch.sdk:tinkerpatch-android-sdk:${TINKERPATCH_VERSION}") { changing = true }
1010
}
1111

1212
android {
13-
compileSdkVersion 23
14-
buildToolsVersion '25.0.2'
13+
compileSdkVersion 26
14+
buildToolsVersion '26.0.2'
1515

1616
signingConfigs {
1717
debug {

app/tinkerpatch.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,16 @@ tinkerpatchSupport {
2828
/** 可以在debug的时候关闭 tinkerPatch, isRelease() 可以判断BuildType是否为Release **/
2929
tinkerEnable = true
3030
reflectApplication = true
31-
31+
/**
32+
* 是否开启加固模式,只能在APK将要进行加固时使用,否则会patch失败。
33+
* 如果只在某个渠道使用了加固,可使用多flavors配置
34+
**/
35+
protectedApp = false
36+
/**
37+
* 实验功能
38+
* 补丁是否支持新增 Activity (新增Activity的exported属性必须为false)
39+
**/
40+
supportComponent = true
3241
autoBackupApkPath = "${bakPath}"
3342

3443
appKey = "f938475486f91936"

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
//mavenLocal()
6+
google()
67
jcenter()
78
}
89
dependencies {
9-
classpath 'com.android.tools.build:gradle:2.3.1'
10+
classpath 'com.android.tools.build:gradle:3.0.0'
1011

1112
// NOTE: Do not place your application dependencies here; they belong
1213
// in the individual module build.gradle files
@@ -18,6 +19,7 @@ buildscript {
1819
allprojects {
1920
repositories {
2021
//mavenLocal()
22+
google()
2123
jcenter()
2224
}
2325
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ org.gradle.jvmargs=-Xmx1536m
1616
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1717
# org.gradle.parallel=true
1818

19-
TINKERPATCH_VERSION=1.1.8
20-
ANDRESGUARD_VERSION=1.2.3
19+
TINKERPATCH_VERSION=1.2.1
20+
ANDRESGUARD_VERSION=1.2.8
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Apr 21 01:38:07 CST 2017
1+
#Mon Nov 13 11:46:58 PST 2017
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-3.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

0 commit comments

Comments
 (0)