SubwayTooter-Android-App/build.gradle

90 lines
2.7 KiB
Groovy
Raw Normal View History

2017-04-20 18:23:59 +02:00
buildscript {
ext.androidxAnnotationVersion = "1.6.0"
ext.androidxTestEspressoCoreVersion = "3.5.1"
ext.androidxTestExtJunitVersion = "1.1.5"
ext.androidxTestVersion = "1.5.0"
ext.ankoVersion = "0.10.8"
ext.appcompatVersion = "1.6.1"
2023-02-23 13:24:23 +01:00
ext.archVersion = "2.2.0"
2023-06-29 16:39:48 +02:00
ext.commonsCodecVersion = "1.16.0"
ext.composeVersion = "1.0.5"
ext.conscryptVersion = "2.5.2"
ext.conscryptVersion = "2.5.2"
2023-06-29 16:39:48 +02:00
ext.coreKtxVersion = "1.10.1"
ext.desugarLibVersion = '2.0.3'
ext.detektVersion = '1.23.0'
ext.emoji2Version = "1.3.0"
ext.media3Version = "1.1.0"
ext.glideVersion = '4.15.1'
2023-06-29 16:39:48 +02:00
ext.webpDecoderVersion = "2.3.$glideVersion"
ext.javaSourceCompatibility = JavaVersion.VERSION_1_8
ext.javaTargetCompatibility = JavaVersion.VERSION_1_8
ext.junitVersion = "4.13.2"
2023-06-29 16:39:48 +02:00
ext.koinVersion = '3.4.2'
ext.kotlinJvmTarget = "1.8"
ext.kotlinJvmToolchain = 17
ext.kotlinVersion = '1.9.0'
ext.kotlinTestVersion = '1.9.0'
ext.kotlinxCoroutinesVersion = '1.7.2'
ext.kspVersion = "1.9.0-1.0.11"
ext.lifecycleVersion = "2.6.1"
ext.materialVersion = "1.9.0"
2023-06-29 16:39:48 +02:00
ext.okhttpVersion = '5.0.0-alpha.11'
ext.preferenceVersion = "1.2.0"
ext.stBuildToolsVersion = "33.0.1"
ext.stCompileSdkVersion = 33
ext.stMinSdkVersion = 26
ext.stTargetSdkVersion = 33
ext.startupVersion = "1.1.1"
ext.testKtxVersion = "1.5.0"
ext.workVersion = "2.8.1"
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-06-29 16:39:48 +02:00
classpath 'com.android.tools.build:gradle:8.0.2'
// room のバージョンの影響で google-services を上げられない場合がある
2023-01-26 16:54:04 +01:00
classpath "com.google.gms:google-services:4.3.15"
2018-05-06 10:09:18 +02:00
//noinspection DifferentKotlinGradleVersion
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion"
2019-10-06 22:46:56 +02:00
classpath "com.github.bjoernq:unmockplugin:0.7.6"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detektVersion"
2017-04-20 18:23:59 +02:00
}
}
plugins{
id("org.jetbrains.kotlin.android") version("$kotlinVersion") apply false
id("com.google.devtools.ksp") version("$kspVersion") apply false
}
2017-04-20 18:23:59 +02:00
allprojects {
repositories {
google()
mavenCentral()
// com.github.androidmads:QRGenerator
maven { url 'https://jitpack.io' }
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"
}