50 lines
1.3 KiB
Kotlin
50 lines
1.3 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("kotlin-android")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.outs.demo_compose"
|
|
compileSdk = ConfigData.COMPILE_SDK_VERSION
|
|
|
|
defaultConfig {
|
|
applicationId = ConfigData.applicationId + "demo_compose"
|
|
minSdk = ConfigData.MIN_SDK_VERSION
|
|
targetSdk = ConfigData.TARGET_SDK_VERSION
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
vectorDrawables {
|
|
useSupportLibrary = true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = Versions.COMPOSE_VERSION
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":${ConfigData.MODULE_COMPOSE}"))
|
|
|
|
testImplementation("junit:junit:4.+")
|
|
androidTestImplementation("androidx.test.ext:junit:1.1.3")
|
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
|
|
androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.1.1")
|
|
debugImplementation("androidx.compose.ui:ui-tooling:1.1.1")
|
|
} |