2023-01-15 06:04:37 +01:00
|
|
|
apply plugin: "com.android.application"
|
|
|
|
apply plugin: "kotlin-android"
|
2018-01-29 01:50:37 +01:00
|
|
|
|
|
|
|
android {
|
2023-02-01 17:11:39 +01:00
|
|
|
compileSdkVersion stCompileSdkVersion
|
|
|
|
buildToolsVersion stBuildToolsVersion
|
2018-01-29 01:50:37 +01:00
|
|
|
|
2020-09-08 22:17:32 +02:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2018-01-29 01:50:37 +01:00
|
|
|
defaultConfig {
|
2023-02-01 17:11:39 +01:00
|
|
|
targetSdkVersion stTargetSdkVersion
|
|
|
|
minSdkVersion stMinSdkVersion
|
2018-01-29 01:50:37 +01:00
|
|
|
|
|
|
|
applicationId "jp.juggler.apng.sample"
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
2019-02-15 02:51:22 +01:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2021-11-06 04:00:29 +01:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
2018-01-29 01:50:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2019-02-15 04:17:31 +01:00
|
|
|
minifyEnabled false
|
2023-01-15 06:04:37 +01:00
|
|
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
2018-01-29 01:50:37 +01:00
|
|
|
}
|
|
|
|
}
|
2019-04-13 01:07:11 +02:00
|
|
|
packagingOptions {
|
2023-01-26 16:54:04 +01:00
|
|
|
resources {
|
|
|
|
pickFirsts += ['META-INF/atomicfu.kotlin_module']
|
|
|
|
}
|
2019-04-13 01:07:11 +02:00
|
|
|
}
|
2021-11-06 03:11:28 +01:00
|
|
|
|
2023-01-26 16:54:04 +01:00
|
|
|
|
2021-11-06 03:11:28 +01:00
|
|
|
kotlinOptions {
|
2023-02-01 17:11:39 +01:00
|
|
|
jvmTarget = kotlinJvmTarget
|
2021-11-06 03:11:28 +01:00
|
|
|
freeCompilerArgs += [
|
2022-12-26 16:04:32 +01:00
|
|
|
"-opt-in=kotlin.ExperimentalStdlibApi",
|
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
2022-03-14 01:16:44 +01:00
|
|
|
// "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
|
|
|
// "-Xopt-in=androidx.compose.foundation.ExperimentalFoundationApi",
|
|
|
|
// "-Xopt-in=androidx.compose.animation.ExperimentalAnimationApi",
|
2021-11-06 03:11:28 +01:00
|
|
|
]
|
|
|
|
}
|
2023-01-26 16:54:04 +01:00
|
|
|
namespace 'jp.juggler.apng.sample'
|
2018-01-29 01:50:37 +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")
|
2023-01-15 06:04:37 +01:00
|
|
|
implementation project(":apng_android")
|
2018-01-29 01:50:37 +01:00
|
|
|
}
|