2024-01-01 01:52:41 +00:00
|
|
|
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
|
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.androidApplication)
|
|
|
|
alias(libs.plugins.kotlinAndroid)
|
2024-01-29 08:54:28 +00:00
|
|
|
//id("org.mozilla.rust-android-gradle.rust-android") version "0.9.3" apply false
|
2024-01-01 01:52:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
2024-01-29 17:37:29 +00:00
|
|
|
|
2024-01-01 01:52:41 +00:00
|
|
|
runtimeOnly(libs.androidx.ui.tooling)
|
|
|
|
implementation(libs.org.eclipse.jgit)
|
2024-01-29 08:54:28 +00:00
|
|
|
implementation("com.meetup:twain:0.2.2")
|
2024-01-29 17:37:29 +00:00
|
|
|
|
|
|
|
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")
|
|
|
|
}
|
|
|
|
|