Skip to content

Commit

Permalink
解决与低版本gradle api方法名冲突问题
Browse files Browse the repository at this point in the history
  • Loading branch information
huangx committed Nov 23, 2020
1 parent 93039a6 commit 3aad728
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion library/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class AndroidJunkCodeTask extends DefaultTask {
File outDir

@TaskAction
void execute() {
void generateJunkCode() {
if (outDir.exists()) {
outDir.deleteDir()
}
Expand Down

0 comments on commit 3aad728

Please sign in to comment.