Files
Bible-Daily/app/build.gradle
T
jahruz67 9af47ed14a Enhance Android build process and add settings for update management
- 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
2026-05-21 16:21:21 -07:00

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"
}