mirror of
https://github.com/bitsycore/pulse-mvi.git
synced 2026-10-05 03:57:27 +00:00
59 lines
1.4 KiB
Kotlin
59 lines
1.4 KiB
Kotlin
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.kotlin.compose)
|
|
}
|
|
|
|
val javaVersion: JavaVersion by rootProject.extra
|
|
|
|
android {
|
|
namespace = "com.bitsycore.demo.pulse.android"
|
|
|
|
compileSdk = rootProject.extra["compileSdk"] as Int
|
|
|
|
defaultConfig {
|
|
applicationId = "com.bitsycore.demo.pulse.android"
|
|
minSdk = rootProject.extra["minSdk"] as Int
|
|
targetSdk = rootProject.extra["targetSdk"] as Int
|
|
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
isShrinkResources = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = javaVersion
|
|
targetCompatibility = javaVersion
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
jvmTarget = JvmTarget.fromTarget(javaVersion.toString())
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.appcompat)
|
|
implementation(libs.androidx.activity.compose)
|
|
implementation(libs.jetbrains.compose.material3)
|
|
implementation(projects.demo)
|
|
} |