Files
occupancy-fitting/android/app/build.gradle
T
OpenCode 20567c0781 feat: container packing simulator + Android shell
- web/packing: scan-sweep planner (bottom-up X/Y sweep, all items per cell),
  multi-direction candidates, gap fill, stack/capacity/rigid-body checks,
  theoretical fill bound with red warning, occupancy voxel metrics
- per-item params via right-click menu (upright, stack count, capacity,
  box/voxel fit, mass); simplified left panel
- 3D: pan/zoom/rotate mouse mapping, touch gestures, draggable XYZ compass
- android: offline WebView APK build pipeline (aapt2/javac/d8/apksigner)
- docs: packing preview and mobile screenshots
2026-11-26 15:26:16 +08:00

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