mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-23 07:38:04 +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
69 lines
1.8 KiB
Groovy
69 lines
1.8 KiB
Groovy
buildscript {
|
|
|
|
ext.jvm_target = "1.8"
|
|
|
|
ext.min_sdk_version = 21
|
|
ext.target_sdk_version = 31
|
|
ext.compile_sdk_version = 31
|
|
|
|
ext.appcompat_version = "1.4.2"
|
|
ext.lifecycle_version = "2.5.1"
|
|
ext.arch_version = "2.1.0"
|
|
|
|
ext.kotlin_version = '1.7.10'
|
|
ext.kotlinx_coroutines_version = '1.6.4'
|
|
|
|
ext.anko_version = '0.10.8'
|
|
|
|
ext.junit_version = '4.13.2'
|
|
|
|
ext.detekt_version = '1.21.0-RC1'
|
|
|
|
ext.compose_version = '1.0.5'
|
|
|
|
ext.koin_version = '3.1.3'
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.2.1'
|
|
|
|
// room のバージョンの影響で google-services を上げられない場合がある
|
|
//noinspection GradleDependency
|
|
classpath 'com.google.gms:google-services:4.3.10'
|
|
|
|
//noinspection DifferentKotlinGradleVersion
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
|
|
classpath "com.github.bjoernq:unmockplugin:0.7.6"
|
|
|
|
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detekt_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
maven { url 'https://maven.google.com' }
|
|
maven { url 'https://jitpack.io' }
|
|
|
|
mavenCentral()
|
|
|
|
maven { url 'https://dl.bintray.com/google/exoplayer/' }
|
|
maven { url 'https://dl.bintray.com/google/flexbox-layout/' }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << '-Xlint:unchecked'
|
|
options.compilerArgs << '-Xlint:deprecation'
|
|
options.compilerArgs << '-Xlint:divzero'
|
|
}
|