2017-12-22 14:10:28 +01:00
|
|
|
apply plugin: 'com.android.library'
|
2021-11-06 04:00:29 +01:00
|
|
|
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
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2020-09-08 22:17:32 +02: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
|
|
|
|
2021-08-24 00:46:09 +02:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2018-09-12 07:55:15 +02:00
|
|
|
|
2021-08-24 00:46:09 +02:00
|
|
|
resourcePrefix "cpv_"
|
2021-11-06 04:00:29 +01:00
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = jvm_target
|
|
|
|
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 {
|
2021-08-24 00:46:09 +02:00
|
|
|
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
2018-08-24 07:04:55 +02:00
|
|
|
|
2021-08-24 00:46:09 +02:00
|
|
|
implementation 'com.google.android.flexbox:flexbox:3.0.0'
|
2017-12-22 14:10:28 +01:00
|
|
|
|
2021-11-20 13:16:56 +01:00
|
|
|
testImplementation "junit:junit:$junit_version"
|
|
|
|
|
|
|
|
androidTestImplementation "androidx.test:core:1.4.0"
|
|
|
|
|
|
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0-alpha4', {
|
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
|
})
|
|
|
|
}
|