Commit 96fd5ab7 authored by zhaopengxiang's avatar zhaopengxiang

生成全局versions.gradle,完成版本定义,便于修改

parent 0b146579
......@@ -4,6 +4,8 @@ plugins {
id 'kotlin-kapt'
}
apply from: '../versions.gradle'
android {
compileSdkVersion 31
buildToolsVersion "30.0.3"
......@@ -21,8 +23,8 @@ android {
applicationId "com.miya.fastcashier"
minSdkVersion 19
targetSdkVersion 31
versionCode 21
versionName "2.1"
versionCode VERSION_CODE.toInteger()
versionName VERSION_NAME.toString()
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
......
ext {
VERSION_CODE = 21
VERSION_NAME = '2.1.1'
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment