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