diff --git a/README.md b/README.md index d6113123..e59ce04d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ buildscript { mavenCentral() } dependencies { - classpath "com.github.qq549631030:android-junk-code:1.0.9" + classpath "com.github.qq549631030:android-junk-code:1.1.0" } } ``` @@ -41,7 +41,7 @@ androidJunkCode { } ``` -**原configMap配置方式已过时,1.0.9版以后请使用variantConfig配置方式"** +**原configMap配置方式已过时,1.0.8版以后请使用variantConfig配置方式"** 如果有多个变体共用一个配置可以这样做 ```groovy diff --git a/build.gradle b/build.gradle index cab07f78..019468dc 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:4.2.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath "com.github.qq549631030:android-junk-code:1.0.9" + classpath "com.github.qq549631030:android-junk-code:1.1.0" classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0' classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:3.0.1" diff --git a/library/gradle.properties b/library/gradle.properties index 18cd88e4..30b07531 100644 --- a/library/gradle.properties +++ b/library/gradle.properties @@ -1,6 +1,6 @@ #project GROUP=com.github.qq549631030 -VERSION_NAME=1.0.9 +VERSION_NAME=1.1.0 POM_ARTIFACT_ID=android-junk-code POM_NAME=AndroidJunkCode diff --git a/library/src/main/groovy/cn/hx/plugin/junkcode/ext/AndroidJunkCodeExt.groovy b/library/src/main/groovy/cn/hx/plugin/junkcode/ext/AndroidJunkCodeExt.groovy index 24aad1f0..cbc6e744 100644 --- a/library/src/main/groovy/cn/hx/plugin/junkcode/ext/AndroidJunkCodeExt.groovy +++ b/library/src/main/groovy/cn/hx/plugin/junkcode/ext/AndroidJunkCodeExt.groovy @@ -3,7 +3,6 @@ package cn.hx.plugin.junkcode.ext import org.gradle.api.NamedDomainObjectContainer class AndroidJunkCodeExt { - @Deprecated(since = "1.0.8") Map> configMap = [:] NamedDomainObjectContainer variantConfig