SubwayTooter-Android-App/sample_apng/build.gradle

56 lines
1.6 KiB
Groovy
Raw Normal View History

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 {
compileSdkVersion compile_sdk_version
buildToolsVersion build_tools_version
2018-01-29 01:50:37 +01:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2018-01-29 01:50:37 +01:00
defaultConfig {
2018-09-12 07:55:15 +02:00
targetSdkVersion target_sdk_version
minSdkVersion min_sdk_version
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"
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
}
}
packagingOptions {
2023-01-26 16:54:04 +01:00
resources {
pickFirsts += ['META-INF/atomicfu.kotlin_module']
}
}
2023-01-26 16:54:04 +01:00
kotlinOptions {
jvmTarget = jvm_target
freeCompilerArgs += [
"-opt-in=kotlin.ExperimentalStdlibApi",
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
// "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi",
// "-Xopt-in=androidx.compose.foundation.ExperimentalFoundationApi",
// "-Xopt-in=androidx.compose.animation.ExperimentalAnimationApi",
]
}
2023-01-26 16:54:04 +01:00
namespace 'jp.juggler.apng.sample'
2018-01-29 01:50:37 +01:00
}
dependencies {
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugar_lib_bersion"
implementation project(":base")
2023-01-15 06:04:37 +01:00
implementation project(":apng_android")
2018-01-29 01:50:37 +01:00
}