diff --git a/README.md b/README.md index c95951c6..e7ff017f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ``` buildscript { dependencies { - classpath "cn.hx.plugin:android-junk-code:1.0.4" + classpath "cn.hx.plugin:android-junk-code:1.0.5" } } ``` diff --git a/build.gradle b/build.gradle index 194e9f59..4cdc56ce 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ buildscript { classpath 'com.android.tools.build:gradle:4.1.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.novoda:bintray-release:0.9.2' - classpath "cn.hx.plugin:android-junk-code:1.0.4" + classpath "cn.hx.plugin:android-junk-code:1.0.5" classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:2.0.0" // NOTE: Do not place your application dependencies here; they belong diff --git a/library/project.properties b/library/project.properties index 491ca823..faf2ecbe 100644 --- a/library/project.properties +++ b/library/project.properties @@ -2,7 +2,7 @@ project.name=AndroidJunkCode project.groupId=cn.hx.plugin project.artifactId=android-junk-code -project.artifactVersion=1.0.4 +project.artifactVersion=1.0.5 project.siteUrl=https://github.com/qq549631030/AndroidJunkCode project.gitUrl=https://github.com/qq549631030/AndroidJunkCode.git project.desc=generate junk code for android \ No newline at end of file diff --git a/library/src/main/groovy/cn/hx/plugin/junkcode/task/AndroidJunkCodeTask.groovy b/library/src/main/groovy/cn/hx/plugin/junkcode/task/AndroidJunkCodeTask.groovy index a394d40b..274ef23c 100644 --- a/library/src/main/groovy/cn/hx/plugin/junkcode/task/AndroidJunkCodeTask.groovy +++ b/library/src/main/groovy/cn/hx/plugin/junkcode/task/AndroidJunkCodeTask.groovy @@ -32,7 +32,7 @@ class AndroidJunkCodeTask extends DefaultTask { File outDir @TaskAction - void execute() { + void generateJunkCode() { if (outDir.exists()) { outDir.deleteDir() }