Files
juli 8f89b27ceb Release 0.2.0-alpha.6
Hosted relays can no longer end a player's session by mistake, narration
no longer blocks a crewmate's next move, the Studio keeps offered
campaigns offered when saving, clear start-up errors, and other relay,
app, Studio and control panel fixes. Version code 11.
2026-10-25 21:42:32 +01:00

52 lines
1.9 KiB
Kotlin

plugins {
id("com.android.application")
kotlin("android")
id("org.jetbrains.kotlin.plugin.compose")
}
android {
namespace = "monster.autisme.deadchannel"
compileSdk = 35
defaultConfig {
applicationId = "monster.autisme.depraxis"
manifestPlaceholders["appLabel"] = "de-praxis"
minSdk = 26
targetSdk = 35
versionCode = 11
versionName = "0.2.0-alpha.6"
}
buildTypes.getByName("debug") {
applicationIdSuffix = ".preview"
versionNameSuffix = "-preview"
manifestPlaceholders["appLabel"] = "de-praxis Preview"
}
val releaseKeystore = providers.environmentVariable("DEPRAXIS_KEYSTORE").orNull
if (releaseKeystore != null) {
signingConfigs {
create("release") {
storeFile = file(releaseKeystore)
storePassword = providers.environmentVariable("DEPRAXIS_KEYSTORE_PASSWORD").get()
keyAlias = providers.environmentVariable("DEPRAXIS_KEY_ALIAS").getOrElse("de-praxis")
keyPassword = storePassword
}
}
buildTypes.getByName("release").signingConfig = signingConfigs.getByName("release")
}
buildFeatures { compose = true }
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions { jvmTarget = "17" }
}
dependencies {
testImplementation("junit:junit:4.13.2")
implementation(project(":shared"))
implementation("androidx.activity:activity-compose:1.9.3")
implementation("androidx.compose.ui:ui:1.7.5")
implementation("androidx.compose.foundation:foundation:1.7.5")
implementation("androidx.compose.material3:material3:1.3.1")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0")
}