Skip to content

Commit 801d4c1

Browse files
committed
[FIX] Apk name plugin
1 parent 6bd0b6e commit 801d4c1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

build-logic/convention/src/main/kotlin/ru/astrainteractive/gradleplugin/plugin/ApkNamePlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ApkNamePlugin : Plugin<Project> {
1616
if (output is VariantOutputImpl) {
1717
val name = projectInfo.name
1818
val version = projectInfo.versionString
19-
output.outputFileName.set("${name}_${version}_${variant.name}.apk")
19+
output.outputFileName.set("${name}-${target.name}-${version}-${variant.name}.apk")
2020
}
2121
}
2222
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ project.name=GradlePlugin
88
project.description=GradlePlugin for my kotlin projects
99
project.group=ru.astrainteractive.gradleplugin
1010
project.web=https://github.com/makeevrserg/gradle-plugin
11-
project.version.string=2.1.1
11+
project.version.string=2.1.2

0 commit comments

Comments
 (0)