examples/launcher is the home screen as an ultra app: clock, app search (Enter opens the first match), icon grid and a pinned dock kept in localStorage. android/ is a dependency-free Java shell that serves it to a transparent WebView over the wallpaper, answers apps.json and icon PNGs from LauncherApps, and bridges launch/app info/settings/wallpaper. CI builds the APK and publishes it as the launcher-latest release. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019EEjkJVV72Lu8ndDVWg5BT
38 lines
843 B
Groovy
38 lines
843 B
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 examples/launcher, served from assets.
|
|
main.assets.srcDirs = ["$rootDir/../examples/launcher"]
|
|
}
|
|
|
|
androidResources {
|
|
// app.py is the LPython source and apps.json is the browser demo's stand-in.
|
|
ignoreAssetsPattern = "!app.py:!apps.json:!__pycache__:!.*"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
}
|