SubwayTooter-Android-App/sample_apng/build.gradle

65 lines
2.1 KiB
Groovy
Raw Normal View History

2018-01-29 01:50:37 +01:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion compile_sdk_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
2018-01-29 01:50:37 +01:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
// https://github.com/Kotlin/kotlinx.coroutines/issues/1064
pickFirst("META-INF/atomicfu.kotlin_module")
}
kotlinOptions {
jvmTarget = jvm_target
useIR = true
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",
]
}
2018-01-29 01:50:37 +01:00
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':apng_android')
2019-02-15 02:51:22 +01:00
implementation "androidx.appcompat:appcompat:$appcompat_version"
//noinspection KtxExtensionAvailable
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
testImplementation "junit:junit:$junit_version"
2021-10-27 22:58:19 +02:00
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
2018-01-29 01:50:37 +01:00
2018-09-14 18:36:05 +02:00
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version"
2018-01-29 01:50:37 +01:00
}