Skip to content

Commit

Permalink
解决类型转化问题
Browse files Browse the repository at this point in the history
  • Loading branch information
qq549631030 committed Sep 26, 2024
1 parent 9b2b1d7 commit 1f17d96
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:3.0.1"
if (PLUGIN_ENABLE.toBoolean()) {
classpath "com.github.qq549631030:android-junk-code:1.3.3"
classpath "com.github.qq549631030:android-junk-code:1.3.4"
}
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
classpath "com.gradle.publish:plugin-publish-plugin:1.2.0"
classpath "com.gradle.publish:plugin-publish-plugin:1.3.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion library/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#project
GROUP=com.github.qq549631030
POM_ARTIFACT_ID=android-junk-code
VERSION_NAME=1.3.3
VERSION_NAME=1.3.4
POM_PACKAGING=jar

POM_NAME=AndroidJunkCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ abstract class AndroidJunkCodeTask extends DefaultTask {
for (int i = 0; i < config.packageCount; i++) {
String packageName
if (config.packageCreator) {
def packageNameBuilder = new StringBuffer()
def packageNameBuilder = new StringBuilder()
config.packageCreator.execute(new Tuple2(i, packageNameBuilder))
packageName = packageNameBuilder.toString()
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ abstract class GenerateJunkCodeTask extends DefaultTask {
for (int i = 0; i < config.packageCount; i++) {
String packageName
if (config.packageCreator) {
def packageNameBuilder = new StringBuffer()
def packageNameBuilder = new StringBuilder()
config.packageCreator.execute(new Tuple2(i, packageNameBuilder))
packageName = packageNameBuilder.toString()
} else {
Expand Down

0 comments on commit 1f17d96

Please sign in to comment.