mirror of
https://github.com/GrakovNe/lissen-android.git
synced 2025-12-23 22:18:09 -05:00
Set explicit code and version
This commit is contained in:
@@ -28,9 +28,6 @@ val localProperties = Properties().apply {
|
||||
?.let { file -> file.inputStream().use { load(it) } }
|
||||
}
|
||||
|
||||
val versionNameStr = project.properties["version.name"] as String
|
||||
val (major, minor, patch) = versionNameStr.split(".").map { it.toInt() }
|
||||
|
||||
android {
|
||||
namespace = "org.grakovne.lissen"
|
||||
compileSdk = 35
|
||||
@@ -43,8 +40,8 @@ android {
|
||||
applicationId = "org.grakovne.lissen"
|
||||
minSdk = 28
|
||||
targetSdk = 35
|
||||
versionName = versionNameStr
|
||||
versionCode = major * 10000 + minor * 100 + patch
|
||||
versionCode = 10412
|
||||
versionName = "1.4.12"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
@@ -176,4 +173,4 @@ dependencies {
|
||||
|
||||
debugImplementation(libs.androidx.ui.tooling)
|
||||
debugImplementation(libs.androidx.ui.test.manifest)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,4 +2,3 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
||||
android.useAndroidX=true
|
||||
kotlin.code.style=official
|
||||
android.nonTransitiveRClass=true
|
||||
version.name=1.4.11
|
||||
|
||||
Reference in New Issue
Block a user