mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-23 15:48:17 +01:00
e8222fa2d8
- Android gradle plugin 4.2.0 - Gradle 6.9 - kotlin 1.5.0 - kotlinx.coroutines 1.4.3 - junit 4.13.2 - firebase-messaging:21.1.0 - androidx.annotation:1.2.0 - androidx.recyclerview:1.2.0 - exoplayer:2.13.3
54 lines
1.7 KiB
Groovy
54 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion compile_sdk_version
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
targetSdkVersion target_sdk_version
|
|
minSdkVersion min_sdk_version
|
|
|
|
applicationId "jp.juggler.apng.sample"
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
packagingOptions {
|
|
// https://github.com/Kotlin/kotlinx.coroutines/issues/1064
|
|
pickFirst("META-INF/atomicfu.kotlin_module")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation project(':apng_android')
|
|
|
|
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
|
//noinspection KtxExtensionAvailable
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
|
|
|
|
testImplementation "junit:junit:$junit_version"
|
|
androidTestImplementation 'androidx.test:runner:1.3.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_version"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version"
|
|
}
|