Self-hosted beta-tester issue tracker with a Kotlin Android companion. - Bullet-point reports (classic and rapid fire), .txt/.md import, evidence by paste, drag, camera or gallery - Projects, calibers (.22 -> 12 gauge) as weights, public overview - Threaded discussions, "me too", admin flagging with messages and files - Board with polls and an off-topic image board with link previews - Profiles with avatars, in-app inbox, opt-in e-mail and phone alerts - Invites, optional open sign-up, TOTP 2FA with admin policy - MCP endpoint with per-user API keys - QR login both ways, built for an HTTPS reverse proxy - Encryption at rest for 2FA secrets and the SMTP password - Android app with full tester/admin parity, in-app updates, no Google services required - Interactive first-run tutorial
72 lines
2.5 KiB
Kotlin
72 lines
2.5 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("org.jetbrains.kotlin.plugin.compose")
|
|
}
|
|
|
|
android {
|
|
namespace = "nl.pikkie.app"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "nl.pikkie.app"
|
|
minSdk = 26
|
|
targetSdk = 35
|
|
versionCode = 7
|
|
versionName = "1.3.2"
|
|
}
|
|
|
|
signingConfigs {
|
|
// Set PIKKIE_KEYSTORE / PIKKIE_KEYSTORE_PASSWORD / PIKKIE_KEY_ALIAS / PIKKIE_KEY_PASSWORD to sign release builds.
|
|
create("release") {
|
|
val ks = System.getenv("PIKKIE_KEYSTORE")
|
|
if (ks != null) {
|
|
storeFile = file(ks)
|
|
storePassword = System.getenv("PIKKIE_KEYSTORE_PASSWORD")
|
|
keyAlias = System.getenv("PIKKIE_KEY_ALIAS")
|
|
keyPassword = System.getenv("PIKKIE_KEY_PASSWORD")
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
if (System.getenv("PIKKIE_KEYSTORE") != null) signingConfig = signingConfigs.getByName("release")
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions { jvmTarget = "17" }
|
|
buildFeatures {
|
|
compose = true
|
|
buildConfig = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
val composeBom = platform("androidx.compose:compose-bom:2024.10.01")
|
|
implementation(composeBom)
|
|
implementation("androidx.compose.ui:ui")
|
|
implementation("androidx.compose.material3:material3")
|
|
implementation("androidx.compose.material:material-icons-extended")
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
|
debugImplementation("androidx.compose.ui:ui-tooling")
|
|
implementation("androidx.activity:activity-compose:1.9.3")
|
|
implementation("androidx.navigation:navigation-compose:2.8.4")
|
|
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.7")
|
|
implementation("androidx.core:core-ktx:1.15.0")
|
|
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
|
// QR scanning without Google Play services
|
|
val camerax = "1.4.0"
|
|
implementation("androidx.camera:camera-camera2:$camerax")
|
|
implementation("androidx.camera:camera-lifecycle:$camerax")
|
|
implementation("androidx.camera:camera-view:$camerax")
|
|
implementation("com.google.zxing:core:3.5.3")
|
|
implementation("androidx.work:work-runtime-ktx:2.10.0")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0")
|
|
}
|