Skip to content

Commit 90a6a11

Browse files
committed
2170 release
1 parent 7cc4f7c commit 90a6a11

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

library/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#project
22
GROUP=com.github.onion99
3-
VERSION_NAME=2.1.6
3+
VERSION_NAME=2.1.7
44

55
POM_ARTIFACT_ID=android-junk-code
66
POM_NAME=AndroidJunkCode

library/src/main/groovy/cn/hx/plugin/junkcode/task/AndroidJunkCodeTask.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,7 @@ class AndroidJunkCodeTask extends DefaultTask {
256256
}
257257

258258
void generateLayoutWithDrawableName(String Name) {
259-
String packageName = config.packageBase + "." + generateName(i)
260-
def layoutName = "${config.resPrefix.toLowerCase()}${packageName.replace(".", "_")}_activity_${Name}"
259+
def layoutName = "${config.resPrefix.toLowerCase()}_activity_${Name}"
261260
def layoutFile = new File(outDir, "res/layout/${layoutName}.xml")
262261
if (!layoutFile.getParentFile().exists()) {
263262
layoutFile.getParentFile().mkdirs()

0 commit comments

Comments
 (0)