From 1f17d96d0879e5ae987f75fb00fbcfd4d597dffb Mon Sep 17 00:00:00 2001 From: huangx <549631030@qq.com> Date: Thu, 26 Sep 2024 15:23:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=B1=BB=E5=9E=8B=E8=BD=AC?= =?UTF-8?q?=E5=8C=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- library/build.gradle | 2 +- library/gradle.properties | 2 +- .../cn/hx/plugin/junkcode/task/AndroidJunkCodeTask.groovy | 2 +- .../cn/hx/plugin/junkcode/task/GenerateJunkCodeTask.groovy | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index d5fc17c6..1bfb52ff 100644 --- a/build.gradle +++ b/build.gradle @@ -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 diff --git a/library/build.gradle b/library/build.gradle index f73dc2b2..628af8ee 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -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" } } diff --git a/library/gradle.properties b/library/gradle.properties index 87ebbb23..565a06aa 100644 --- a/library/gradle.properties +++ b/library/gradle.properties @@ -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 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 568e6b9c..e4a8c44a 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 @@ -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 { diff --git a/library/src/main/groovy/cn/hx/plugin/junkcode/task/GenerateJunkCodeTask.groovy b/library/src/main/groovy/cn/hx/plugin/junkcode/task/GenerateJunkCodeTask.groovy index 9f78c4e5..085248b1 100644 --- a/library/src/main/groovy/cn/hx/plugin/junkcode/task/GenerateJunkCodeTask.groovy +++ b/library/src/main/groovy/cn/hx/plugin/junkcode/task/GenerateJunkCodeTask.groovy @@ -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 {