- hub: FastAPI backend (MCP server, ADB LAN controller, bridge, storage) - hub/web: Vue 3 admin console (device manager, screen mirror, chat workbench) - android: Kotlin shell app with WebView stage, OTA, telemetry, keep-alive - protocol: architecture, MCP schema, and WebSocket protocol specs
61 lines
1.5 KiB
Kotlin
61 lines
1.5 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
val pwVersionCode = (project.findProperty("pwVersionCode") as String?)?.toIntOrNull() ?: 1
|
|
val pwVersionName = (project.findProperty("pwVersionName") as String?) ?: "0.1.0"
|
|
|
|
android {
|
|
namespace = "com.pulsewall.app"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "com.pulsewall.app"
|
|
minSdk = 30
|
|
targetSdk = 30
|
|
versionCode = pwVersionCode
|
|
versionName = pwVersionName
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
|
|
signingConfigs {
|
|
create("pulsewallFixed") {
|
|
storeFile = file("../keystore/pulsewall-dev.jks")
|
|
storePassword = "pulsewall123"
|
|
keyAlias = "pulsewall"
|
|
keyPassword = "pulsewall123"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
signingConfig = signingConfigs.getByName("pulsewallFixed")
|
|
}
|
|
release {
|
|
isMinifyEnabled = false
|
|
signingConfig = signingConfigs.getByName("pulsewallFixed")
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.core:core-ktx:1.13.1")
|
|
implementation("androidx.appcompat:appcompat:1.7.0")
|
|
implementation("androidx.webkit:webkit:1.11.0")
|
|
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1")
|
|
}
|