ci: fix android build
Some checks reported warnings
arcad/arcast/pipeline/head This commit is unstable
Some checks reported warnings
arcad/arcast/pipeline/head This commit is unstable
This commit is contained in:
@ -3,10 +3,8 @@ plugins {
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
}
|
||||
|
||||
def gitVersion() {
|
||||
def counter = 0
|
||||
def process = "git rev-list master --first-parent --count".execute()
|
||||
return process.text.toInteger()
|
||||
def versionCode() {
|
||||
return System.env.VERSION_CODE ? System.env.VERSION_CODE.toInteger() : 0
|
||||
}
|
||||
|
||||
def versionName() {
|
||||
@ -21,7 +19,7 @@ android {
|
||||
applicationId "com.cadoles.arcast_player"
|
||||
minSdk 24
|
||||
targetSdk 34
|
||||
versionCode gitVersion()
|
||||
versionCode versionCode()
|
||||
versionName versionName()
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
Reference in New Issue
Block a user