File tree Expand file tree Collapse file tree 5 files changed +21
-10
lines changed Expand file tree Collapse file tree 5 files changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,16 @@ apply plugin: 'com.android.application'
2
2
3
3
dependencies {
4
4
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 "
7
7
8
8
// 无需引入tinker的任何库,使用tinkerpatch sdk即可
9
9
compile(" com.tinkerpatch.sdk:tinkerpatch-android-sdk:${ TINKERPATCH_VERSION} " ) { changing = true }
10
10
}
11
11
12
12
android {
13
- compileSdkVersion 23
14
- buildToolsVersion ' 25 .0.2'
13
+ compileSdkVersion 26
14
+ buildToolsVersion ' 26 .0.2'
15
15
16
16
signingConfigs {
17
17
debug {
Original file line number Diff line number Diff line change @@ -28,7 +28,16 @@ tinkerpatchSupport {
28
28
/* * 可以在debug的时候关闭 tinkerPatch, isRelease() 可以判断BuildType是否为Release **/
29
29
tinkerEnable = true
30
30
reflectApplication = true
31
-
31
+ /**
32
+ * 是否开启加固模式,只能在APK将要进行加固时使用,否则会patch失败。
33
+ * 如果只在某个渠道使用了加固,可使用多flavors配置
34
+ **/
35
+ protectedApp = false
36
+ /**
37
+ * 实验功能
38
+ * 补丁是否支持新增 Activity (新增Activity的exported属性必须为false)
39
+ **/
40
+ supportComponent = true
32
41
autoBackupApkPath = " ${ bakPath} "
33
42
34
43
appKey = " f938475486f91936"
Original file line number Diff line number Diff line change 3
3
buildscript {
4
4
repositories {
5
5
// mavenLocal()
6
+ google()
6
7
jcenter()
7
8
}
8
9
dependencies {
9
- classpath ' com.android.tools.build:gradle:2.3.1 '
10
+ classpath ' com.android.tools.build:gradle:3.0.0 '
10
11
11
12
// NOTE: Do not place your application dependencies here; they belong
12
13
// in the individual module build.gradle files
@@ -18,6 +19,7 @@ buildscript {
18
19
allprojects {
19
20
repositories {
20
21
// mavenLocal()
22
+ google()
21
23
jcenter()
22
24
}
23
25
}
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ org.gradle.jvmargs=-Xmx1536m
16
16
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17
17
# org.gradle.parallel=true
18
18
19
- TINKERPATCH_VERSION =1.1.8
20
- ANDRESGUARD_VERSION =1.2.3
19
+ TINKERPATCH_VERSION =1.2.1
20
+ ANDRESGUARD_VERSION =1.2.8
Original file line number Diff line number Diff line change 1
- # Fri Apr 21 01:38:07 CST 2017
1
+ # Mon Nov 13 11:46:58 PST 2017
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
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
You can’t perform that action at this time.
0 commit comments