SubwayTooter-Android-App/colorpicker/build.gradle

46 lines
1.4 KiB
Groovy
Raw Normal View History

2017-12-22 14:10:28 +01:00
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
2017-12-22 14:10:28 +01:00
android {
compileSdkVersion compile_sdk_version
2017-12-22 14:10:28 +01:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
targetSdkVersion target_sdk_version
minSdkVersion min_sdk_version
vectorDrawables.useSupportLibrary = true
}
2017-12-22 14:10:28 +01:00
2018-09-12 07:55:15 +02:00
lintOptions {
abortOnError false
}
2018-09-12 07:55:15 +02:00
resourcePrefix "cpv_"
kotlinOptions {
jvmTarget = jvm_target
useIR = true
freeCompilerArgs += [
"-Xopt-in=kotlin.ExperimentalStdlibApi",
"-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
"-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi",
"-Xopt-in=androidx.compose.foundation.ExperimentalFoundationApi",
"-Xopt-in=androidx.compose.animation.ExperimentalAnimationApi",
]
}
2017-12-22 14:10:28 +01:00
}
dependencies {
implementation "androidx.appcompat:appcompat:$appcompat_version"
implementation 'com.google.android.flexbox:flexbox:3.0.0'
2017-12-22 14:10:28 +01:00
}
//apply plugin: 'com.getkeepsafe.dexcount'
//apply from: 'https://raw.githubusercontent.com/jaredrummler/android-artifact-push/master/artifactory/publication.gradle'
//apply from: 'https://raw.githubusercontent.com/jaredrummler/android-artifact-push/master/maven/gradle-mvn-push.gradle'