Linjiajia
2023-07-25 82e57df230ecb744af6c8865f80870ba03c86d89
app/build.gradle
@@ -9,8 +9,7 @@
        minSdk 24
        targetSdk 33
        versionCode 1
        versionName "1.0"
        versionName getVersionName()
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    signingConfigs {
@@ -57,10 +56,15 @@
    implementation 'androidx.annotation:annotation:1.3.0'
    implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
    implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
    implementation 'com.google.android.material:material:1.8.0'
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.5'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
    implementation project(path: ':app_base')
}
def getVersionName() {
    return new Date().format("yyyyMMddHHmmss", TimeZone.getTimeZone("UTC"))
}