Skip to content

Commit 139f095

Browse files
author
Martin Styk
committed
Move app version to gradle.kts
1 parent 597294d commit 139f095

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ android {
1212
defaultConfig {
1313
applicationId = "sk.styk.martin.apkanalyzer"
1414
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
15+
16+
versionCode = 1
17+
versionName = "dev"
1518
}
1619

1720
flavorDimensions += "version"

build-logic/convention/src/main/kotlin/ApplicationPlugin.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ class ApplicationPlugin : Plugin<Project> {
2626
compileSdk = TargetSdk
2727
minSdk = MinSdk
2828

29-
versionCode = 1
30-
versionName = "dev"
31-
3229
multiDexEnabled = true
3330
vectorDrawables.useSupportLibrary = true
3431
}

0 commit comments

Comments
 (0)