Skip to content

Commit a69ebac

Browse files
committed
migrated to version catalog.
1 parent 1c366ce commit a69ebac

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

gradle/libs.versions.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
[versions]
22
app_version_code = '29'
33
app_version_name = '1.3.0'
4+
android_build_tools = '35.0.0'
45
android_compile_sdk = '35'
56
android_target_sdk = '35'
67
android_min_sdk = '21'
7-
android_build_tools = '35.0.0'
8+
9+
# Gradle Plugins
810
android_gradle_plugin = '8.7.0'
911
material_design = '1.12.0'
1012
junit = '4.13.2'

mobile/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ plugins {
99
}
1010

1111
base {
12-
archivesName = "colorpicker_demo_${libs.versions.app.version.name.get()}"
12+
String versionName = libs.versions.app.version.name.get()
13+
archivesName = "colorpicker_demo_$versionName"
1314
}
1415

1516
android {
@@ -25,6 +26,7 @@ android {
2526
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2627
testBuildType "debug"
2728
}
29+
2830
kotlinOptions {
2931
jvmTarget = 17
3032
}

0 commit comments

Comments
 (0)