2023-01-15 14:04:37 +09:00
|
|
|
apply plugin: "com.android.library"
|
|
|
|
apply plugin: "kotlin-android"
|
2017-12-22 22:10:28 +09:00
|
|
|
|
|
|
|
android {
|
2023-02-02 01:11:39 +09:00
|
|
|
compileSdkVersion stCompileSdkVersion
|
|
|
|
buildToolsVersion stBuildToolsVersion
|
2017-12-22 22:10:28 +09:00
|
|
|
|
2021-08-24 07:46:09 +09:00
|
|
|
defaultConfig {
|
2023-02-02 01:11:39 +09:00
|
|
|
targetSdkVersion stTargetSdkVersion
|
|
|
|
minSdkVersion stMinSdkVersion
|
2021-11-06 12:00:29 +09:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
2021-11-20 21:16:56 +09:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
2021-08-24 07:46:09 +09:00
|
|
|
}
|
2017-12-22 22:10:28 +09:00
|
|
|
|
2023-01-14 20:20:24 +09:00
|
|
|
resourcePrefix "cpv_"
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
coreLibraryDesugaringEnabled true
|
|
|
|
}
|
2018-09-12 14:55:15 +09:00
|
|
|
|
2021-11-06 12:00:29 +09:00
|
|
|
kotlinOptions {
|
2023-02-02 01:11:39 +09:00
|
|
|
jvmTarget = kotlinJvmTarget
|
2021-11-06 12:00:29 +09:00
|
|
|
freeCompilerArgs += [
|
2022-12-27 00:04:32 +09:00
|
|
|
"-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",
|
2021-11-06 12:00:29 +09:00
|
|
|
]
|
|
|
|
}
|
2023-01-27 00:54:04 +09:00
|
|
|
lint {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
namespace 'com.jrummyapps.android.colorpicker'
|
2017-12-22 22:10:28 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-02-02 01:11:39 +09:00
|
|
|
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugarLibVersion"
|
2023-01-14 20:20:24 +09:00
|
|
|
implementation project(":base")
|
2021-11-20 21:16:56 +09:00
|
|
|
}
|