1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2024-12-23 15:48:17 +01:00
SubwayTooter-Android-App/colorpicker/build.gradle

51 lines
1.5 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion compile_sdk_version
buildToolsVersion build_tools_version
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
targetSdkVersion target_sdk_version
minSdkVersion min_sdk_version
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
lintOptions {
abortOnError false
}
resourcePrefix "cpv_"
kotlinOptions {
jvmTarget = jvm_target
freeCompilerArgs += [
"-opt-in=kotlin.ExperimentalStdlibApi",
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
//"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
//"-opt-in=androidx.compose.foundation.ExperimentalFoundationApi",
//"-opt-in=androidx.compose.animation.ExperimentalAnimationApi",
]
}
}
dependencies {
implementation "androidx.appcompat:appcompat:$appcompat_version"
implementation 'com.google.android.flexbox:flexbox:3.0.0'
testImplementation "junit:junit:$junit_version"
androidTestImplementation "androidx.test:core:$androidx_test_version"
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0-alpha4', {
exclude group: 'com.android.support', module: 'support-annotations'
})
}