mirror of
https://github.com/FossifyOrg/Flashlight.git
synced 2025-12-23 23:57:45 -05:00
build: move app version to gradle.properties (#36)
This commit is contained in:
@@ -30,11 +30,11 @@ android {
|
||||
compileSdk = project.libs.versions.app.build.compileSDKVersion.get().toInt()
|
||||
|
||||
defaultConfig {
|
||||
applicationId = libs.versions.app.version.appId.get()
|
||||
applicationId = project.property("APP_ID").toString()
|
||||
minSdk = project.libs.versions.app.build.minimumSDK.get().toInt()
|
||||
targetSdk = project.libs.versions.app.build.targetSDK.get().toInt()
|
||||
versionName = project.libs.versions.app.version.versionName.get()
|
||||
versionCode = project.libs.versions.app.version.versionCode.get().toInt()
|
||||
versionName = project.property("VERSION_NAME").toString()
|
||||
versionCode = project.property("VERSION_CODE").toString().toInt()
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
@@ -116,7 +116,7 @@ android {
|
||||
)
|
||||
}
|
||||
|
||||
namespace = libs.versions.app.version.appId.get()
|
||||
namespace = project.property("APP_ID").toString()
|
||||
|
||||
lint {
|
||||
checkReleaseBuilds = false
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
android.enableJetifier=true
|
||||
android.useAndroidX=true
|
||||
org.gradle.jvmargs=-Xmx4g
|
||||
|
||||
# Versioning
|
||||
VERSION_NAME=5.10.1
|
||||
VERSION_CODE=66
|
||||
APP_ID=com.simplemobiletools.flashlight
|
||||
|
||||
@@ -22,10 +22,6 @@ app-build-targetSDK = "34"
|
||||
app-build-minimumSDK = "26"
|
||||
app-build-javaVersion = "VERSION_17"
|
||||
app-build-kotlinJVMTarget = "17"
|
||||
#versioning
|
||||
app-version-appId = "com.simplemobiletools.flashlight"
|
||||
app-version-versionCode = "66"
|
||||
app-version-versionName = "5.10.1"
|
||||
[libraries]
|
||||
#AndroidX
|
||||
androidx-customView = { module = "androidx.customview:customview", version.ref = "androidx-customView" }
|
||||
|
||||
Reference in New Issue
Block a user