mirror of
https://github.com/jahruz67/Bible-Daily.git
synced 2026-08-08 18:14:05 +00:00
- Implement caching for Android debug keystore - Modify APK build command to include CI versioning - Add logic to prepare release assets and upload to GitHub - Update .gitignore to exclude build directories - Introduce SettingsActivity for managing auto-update preferences - Add UpdateManager for handling update checks and dialogs - Integrate update check on app startup in MainActivity
29 lines
721 B
Groovy
29 lines
721 B
Groovy
plugins {
|
|
id "com.android.application"
|
|
}
|
|
|
|
def ciVersionCode = providers.gradleProperty("ciVersionCode").getOrNull()
|
|
def ciVersionName = providers.gradleProperty("ciVersionName").getOrNull()
|
|
|
|
android {
|
|
namespace "com.bibliadiaria.app"
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
applicationId "com.bibliadiaria.app"
|
|
minSdk 23
|
|
targetSdk 35
|
|
versionCode ciVersionCode != null ? ciVersionCode.toInteger() : 1
|
|
versionName ciVersionName != null ? ciVersionName : "1.0"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = "UTF-8"
|
|
}
|