mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-24 08:00:47 +01:00
249ff52556
- versionName 5.0.0 - 会話を別タンスで開く際に同期用のステータスURLを整形する - exoplayer:2.18.1 - lifecycle_version=2.5.1 - roomVersion=2.4.3 - kotlin_version1.7.10 - kotlinx_coroutines_version1.6.4 - remove kotlinOptions.useIR=true
58 lines
1.8 KiB
Groovy
58 lines
1.8 KiB
Groovy
apply plugin: 'com.android.library'
|
|
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
|
|
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables.useSupportLibrary = true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
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",
|
|
]
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation "junit:junit:$junit_version"
|
|
androidTestImplementation 'androidx.test:runner:1.4.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
|
|
api project(':apng')
|
|
// 'api' に指定した依存関係はこのライブラリの利用者に公開されます
|
|
// 'implementation' に指定した依存関係はこのライブラリの利用者に公開されません
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
}
|