48 lines
1.1 KiB
Groovy
48 lines
1.1 KiB
Groovy
|
|
plugins {
|
||
|
|
id 'com.android.application'
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace 'com.occupancyfit.app'
|
||
|
|
compileSdk 35
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
applicationId 'com.occupancyfit.app'
|
||
|
|
minSdk 24
|
||
|
|
// keep targetSdk at 34: Android 15 forces edge-to-edge for targetSdk 35,
|
||
|
|
// which would draw the WebView under the status bar
|
||
|
|
targetSdk 34
|
||
|
|
versionCode 10
|
||
|
|
versionName '1.9'
|
||
|
|
}
|
||
|
|
|
||
|
|
signingConfigs {
|
||
|
|
release {
|
||
|
|
storeFile rootProject.file('keystore/occupancy.jks')
|
||
|
|
storePassword 'occupancy'
|
||
|
|
keyAlias 'occupancy'
|
||
|
|
keyPassword 'occupancy'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
minifyEnabled false
|
||
|
|
shrinkResources false
|
||
|
|
signingConfig signingConfigs.release
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
sourceSets {
|
||
|
|
main {
|
||
|
|
// package the repo's web/ folder directly instead of copying 3 MB of data.js
|
||
|
|
assets.srcDirs = [rootProject.file('../web').absolutePath]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility JavaVersion.VERSION_17
|
||
|
|
targetCompatibility JavaVersion.VERSION_17
|
||
|
|
}
|
||
|
|
}
|