Skip to content

Commit 3433105

Browse files
author
huangx
committed
修复不兼容java8问题
1 parent 1bbe8bc commit 3433105

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
mavenCentral()
1212
}
1313
dependencies {
14-
classpath "com.github.qq549631030:android-junk-code:1.0.9"
14+
classpath "com.github.qq549631030:android-junk-code:1.1.0"
1515
}
1616
}
1717
```
@@ -41,7 +41,7 @@ androidJunkCode {
4141
}
4242
```
4343

44-
**原configMap配置方式已过时,1.0.9版以后请使用variantConfig配置方式"**
44+
**原configMap配置方式已过时,1.0.8版以后请使用variantConfig配置方式"**
4545

4646
如果有多个变体共用一个配置可以这样做
4747
```groovy

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:4.2.1'
1111
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12-
classpath "com.github.qq549631030:android-junk-code:1.0.9"
12+
classpath "com.github.qq549631030:android-junk-code:1.1.0"
1313
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
1414
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:3.0.1"
1515

library/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#project
22
GROUP=com.github.qq549631030
3-
VERSION_NAME=1.0.9
3+
VERSION_NAME=1.1.0
44

55
POM_ARTIFACT_ID=android-junk-code
66
POM_NAME=AndroidJunkCode

library/src/main/groovy/cn/hx/plugin/junkcode/ext/AndroidJunkCodeExt.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package cn.hx.plugin.junkcode.ext
33
import org.gradle.api.NamedDomainObjectContainer
44

55
class AndroidJunkCodeExt {
6-
@Deprecated(since = "1.0.8")
76
Map<String, Closure<JunkCodeConfig>> configMap = [:]
87

98
NamedDomainObjectContainer<JunkCodeConfig> variantConfig

0 commit comments

Comments
 (0)