2018-01-29 09:50:37 +09:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
2021-02-25 10:24:08 +09:00
|
|
|
compileSdkVersion compile_sdk_version
|
2022-08-12 11:51:05 +09:00
|
|
|
buildToolsVersion build_tools_version
|
2018-01-29 09:50:37 +09:00
|
|
|
|
2020-09-09 05:17:32 +09:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2018-01-29 09:50:37 +09:00
|
|
|
defaultConfig {
|
2018-09-12 14:55:15 +09:00
|
|
|
targetSdkVersion target_sdk_version
|
|
|
|
minSdkVersion min_sdk_version
|
2018-01-29 09:50:37 +09:00
|
|
|
|
|
|
|
applicationId "jp.juggler.apng.sample"
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
2019-02-15 10:51:22 +09:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2021-11-06 12:00:29 +09:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
2018-01-29 09:50:37 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2019-02-15 12:17:31 +09:00
|
|
|
minifyEnabled false
|
2018-01-29 09:50:37 +09:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-13 08:07:11 +09:00
|
|
|
packagingOptions {
|
2019-04-13 08:12:17 +09:00
|
|
|
// https://github.com/Kotlin/kotlinx.coroutines/issues/1064
|
2019-04-13 08:07:11 +09:00
|
|
|
pickFirst("META-INF/atomicfu.kotlin_module")
|
|
|
|
}
|
2021-11-06 11:11:28 +09:00
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = jvm_target
|
|
|
|
freeCompilerArgs += [
|
2022-12-27 00:04:32 +09:00
|
|
|
"-opt-in=kotlin.ExperimentalStdlibApi",
|
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
2022-03-14 09:16:44 +09:00
|
|
|
// "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
|
|
|
// "-Xopt-in=androidx.compose.foundation.ExperimentalFoundationApi",
|
|
|
|
// "-Xopt-in=androidx.compose.animation.ExperimentalAnimationApi",
|
2021-11-06 11:11:28 +09:00
|
|
|
]
|
|
|
|
}
|
2018-01-29 09:50:37 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
|
|
|
implementation project(':apng_android')
|
|
|
|
|
2019-02-15 10:51:22 +09:00
|
|
|
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
2021-05-08 14:56:34 +09:00
|
|
|
//noinspection KtxExtensionAvailable
|
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
|
|
|
|
|
Android Studio 4.0.0, Android gradple plugin 4.0.1, Gradle 6.1.1, kotlin 1.4.0, espresso-core:3.3.0-rc03, androidx.test:runner:1.3.0-rc03, androidx.appcompat 1.2.0, androidx.core-ktx 1.3.1, androidx.drawerlayout 1.1.0, androidx.preference 1.1.1, com.google.android.material 1.2.0, firebase-messaging 20.2.4, com.google.android:flexbox 2.0.1, junit 4.13
2020-08-23 07:15:27 +09:00
|
|
|
testImplementation "junit:junit:$junit_version"
|
2022-12-27 00:04:32 +09:00
|
|
|
androidTestImplementation 'androidx.test:runner:1.5.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
|
2018-01-29 09:50:37 +09:00
|
|
|
|
2018-09-15 01:36:05 +09:00
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_version"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version"
|
2018-01-29 09:50:37 +09:00
|
|
|
}
|