Moved out of codegod100/ultra with its history (examples/launcher is now web/). ultra is a git submodule; pixi tasks build web/app.wasm with it and run the browser test. CI runs that test and builds the APK, signed with the same committed debug key, and republishes the launcher-latest release. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011TQdaz3C1f3xEJM6PFzWE6
52 lines
1.3 KiB
Groovy
52 lines
1.3 KiB
Groovy
plugins {
|
|
id "com.android.application"
|
|
}
|
|
|
|
android {
|
|
namespace "dev.ultra.launcher"
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
applicationId "dev.ultra.launcher"
|
|
minSdk 26
|
|
targetSdk 35
|
|
versionCode 1
|
|
versionName "0.1"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
sourceSets {
|
|
// The home screen UI is the ultra app in web/, served from assets.
|
|
main.assets.srcDirs = ["$rootDir/../web"]
|
|
}
|
|
|
|
androidResources {
|
|
// app.py is the LPython source; apps.json and widgets.json are the browser demo's stand-ins.
|
|
ignoreAssetsPattern = "!app.py:!apps.json:!widgets.json:!__pycache__:!.*"
|
|
}
|
|
|
|
signingConfigs {
|
|
// One committed debug key, so every CI build installs over the last one.
|
|
// (A fresh runner would otherwise sign with a newly generated debug key.)
|
|
debug {
|
|
storeFile file("debug.keystore")
|
|
storePassword "android"
|
|
keyAlias "androiddebugkey"
|
|
keyPassword "android"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
}
|