67 lines
1.8 KiB
Text
67 lines
1.8 KiB
Text
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
|
|
plugins {
|
|
alias(libs.plugins.androidApplication)
|
|
alias(libs.plugins.kotlinAndroid)
|
|
//id("org.mozilla.rust-android-gradle.rust-android") version "0.9.3" apply false
|
|
}
|
|
|
|
android {
|
|
namespace = "net.mbess.popequer"
|
|
compileSdk = 34
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId = "net.mbess.popequer"
|
|
minSdk = 29
|
|
targetSdk = 34
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
}
|
|
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
implementation(platform(libs.androidx.compose.bom))
|
|
implementation(libs.androidx.navigation.compose)
|
|
implementation(libs.androidx.material.icons.core)
|
|
implementation(libs.androidx.material.ripple)
|
|
implementation(libs.androidx.material.icons.extended)
|
|
implementation(libs.androidx.material3)
|
|
implementation(libs.androidx.ui.tooling.preview)
|
|
|
|
runtimeOnly(libs.androidx.ui.tooling)
|
|
implementation(libs.org.eclipse.jgit)
|
|
implementation("com.meetup:twain:0.2.2")
|
|
|
|
val composeBom = platform("androidx.compose:compose-bom:2024.01.00")
|
|
implementation(composeBom)
|
|
|
|
debugImplementation("androidx.compose.ui:ui-tooling")
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
|
}
|
|
|