1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2024-12-25 00:21:26 +01:00
SubwayTooter-Android-App/apng_android/build.gradle

58 lines
1.8 KiB
Groovy
Raw Normal View History

2018-01-28 20:03:04 +01:00
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion compile_sdk_version
2018-01-28 20:03:04 +01:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2018-01-28 20:03:04 +01:00
defaultConfig {
2018-09-12 07:55:15 +02:00
targetSdkVersion target_sdk_version
minSdkVersion min_sdk_version
2018-01-28 20:03:04 +01:00
versionCode 1
versionName "1.0"
2019-02-15 02:51:22 +01:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
2018-01-28 20:03:04 +01:00
}
buildTypes {
release {
2019-02-15 04:17:31 +01:00
minifyEnabled false
2018-01-28 20:03:04 +01:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
kotlinOptions {
jvmTarget = jvm_target
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-28 20:03:04 +01:00
}
repositories {
mavenCentral()
}
dependencies {
testImplementation "junit:junit:$junit_version"
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
2018-01-28 20:03:04 +01:00
api project(':apng')
// 'api' に指定した依存関係はこのライブラリの利用者に公開されます
// 'implementation' に指定した依存関係はこのライブラリの利用者に公開されません
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
2018-01-28 20:03:04 +01:00
}