chore: set versionName

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
oSumAtrIX 2023-01-02 02:50:05 +01:00
parent 8de014583e
commit 4a3d20e1f0
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -15,16 +15,8 @@ android {
applicationId = "app.revanced.integrations"
minSdk = 23
targetSdk = 33
versionCode = 1
versionName = "1.0"
multiDexEnabled = false
val properties = Properties()
if (rootProject.file("local.properties").exists()) {
properties.load(FileInputStream(rootProject.file("local.properties")))
}
buildConfigField("String", "YT_API_KEY", "\"${properties.getProperty("youtubeAPIKey", "")}\"")
versionName = project.version as String
}
buildTypes {