SubwayTooter-Android-App/build.gradle

78 lines
2.0 KiB
Groovy
Raw Normal View History

2017-04-20 18:23:59 +02:00
buildscript {
ext.jvm_target = "1.8"
2022-08-11 09:51:49 +02:00
ext.min_sdk_version = 26
ext.target_sdk_version = 33
2022-09-10 23:09:26 +02:00
ext.compile_sdk_version = 33
ext.build_tools_version = "33.0.1"
ext.desugar_lib_bersion = "1.2.0"
ext.startup_version = "1.1.1"
ext.roomVersion = "2.5.0"
ext.workVersion = "2.7.1"
2023-01-15 06:04:37 +01:00
ext.glideVersion = "4.13.2"
ext.appcompat_version = "1.6.0"
ext.lifecycle_version = "2.5.1"
2021-10-27 22:58:19 +02:00
ext.arch_version = "2.1.0"
ext.okhttpVersion = "4.10.0"
2023-01-15 06:04:37 +01:00
ext.kotlin_version = "1.7.21"
ext.kotlinx_coroutines_version = "1.6.4"
2021-11-06 03:25:11 +01:00
2023-01-15 06:04:37 +01:00
ext.anko_version = "0.10.8"
2023-01-15 06:04:37 +01:00
ext.junit_version = "4.13.2"
2023-01-15 06:04:37 +01:00
ext.detekt_version = "1.22.0"
2021-10-27 22:58:19 +02:00
2023-01-15 06:04:37 +01:00
ext.compose_version = "1.0.5"
2023-01-15 06:04:37 +01:00
ext.koin_version = "3.1.3"
2021-06-20 05:02:30 +02:00
2023-01-15 06:04:37 +01:00
ext.androidx_test_version = "1.5.0"
2017-04-20 18:23:59 +02:00
repositories {
google()
2017-04-23 07:42:09 +02:00
mavenCentral()
2017-04-20 18:23:59 +02:00
}
2018-09-12 07:55:15 +02:00
2017-04-20 18:23:59 +02:00
dependencies {
2023-01-15 06:04:37 +01:00
classpath "com.android.tools.build:gradle:7.3.1"
// room のバージョンの影響で google-services を上げられない場合がある
2023-01-15 06:04:37 +01:00
classpath "com.google.gms:google-services:4.3.14"
2018-05-06 10:09:18 +02:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
2019-10-06 22:46:56 +02:00
classpath "com.github.bjoernq:unmockplugin:0.7.6"
2021-06-20 05:02:30 +02:00
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detekt_version"
2017-04-20 18:23:59 +02:00
}
}
allprojects {
repositories {
google()
2023-01-15 06:04:37 +01:00
maven { url "https://maven.google.com" }
maven { url "https://jitpack.io" }
mavenCentral()
2023-01-15 06:04:37 +01:00
maven { url "https://dl.bintray.com/google/exoplayer/" }
maven { url "https://dl.bintray.com/google/flexbox-layout/" }
2017-04-20 18:23:59 +02:00
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
tasks.withType(JavaCompile) {
2023-01-15 06:04:37 +01:00
options.compilerArgs << "-Xlint:unchecked"
options.compilerArgs << "-Xlint:deprecation"
options.compilerArgs << "-Xlint:divzero"
}