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 {
|
2023-02-01 17:11:39 +01:00
|
|
|
compileSdkVersion stCompileSdkVersion
|
|
|
|
buildToolsVersion stBuildToolsVersion
|
2017-12-22 14:10:28 +01:00
|
|
|
|
2021-08-24 00:46:09 +02:00
|
|
|
defaultConfig {
|
2023-02-01 17:11:39 +01:00
|
|
|
targetSdkVersion stTargetSdkVersion
|
|
|
|
minSdkVersion stMinSdkVersion
|
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 {
|
2023-02-01 17:11:39 +01:00
|
|
|
jvmTarget = kotlinJvmTarget
|
2021-11-06 04:00:29 +01:00
|
|
|
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-02-01 17:11:39 +01:00
|
|
|
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugarLibVersion"
|
2023-01-14 12:20:24 +01:00
|
|
|
implementation project(":base")
|
2021-11-20 13:16:56 +01:00
|
|
|
}
|