55 lines
1.3 KiB
Kotlin
55 lines
1.3 KiB
Kotlin
@file:Suppress("UnstableApiUsage")
|
|
|
|
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
|
|
|
|
plugins {
|
|
id("com.android.library")
|
|
alias(libs.plugins.kotlin.android)
|
|
alias(libs.plugins.compose.compiler)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.goofy.goober.style"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
minSdk = 33
|
|
targetSdk = 34
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
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"
|
|
}
|
|
android.sourceSets.all {
|
|
java.srcDir("src/$name/kotlin")
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.bundles.androidx)
|
|
implementation(libs.bundles.compose)
|
|
implementation(libs.bundles.kotlin)
|
|
implementation(libs.bundles.google)
|
|
|
|
debugImplementation(libs.compose.ui.tooling)
|
|
}
|