2017-04-20 18:23:59 +02:00
|
|
|
buildscript {
|
2017-11-04 15:51:15 +01:00
|
|
|
|
2023-03-31 04:17:11 +02:00
|
|
|
ext.androidxAnnotationVersion = "1.6.0"
|
|
|
|
ext.androidxTestEspressoCoreVersion = "3.5.1"
|
|
|
|
ext.androidxTestExtJunitVersion = "1.1.5"
|
2023-02-01 17:11:39 +01:00
|
|
|
ext.androidxTestVersion = "1.5.0"
|
|
|
|
ext.ankoVersion = "0.10.8"
|
2023-04-04 02:38:52 +02:00
|
|
|
ext.appcompatVersion = "1.6.1"
|
2023-02-23 13:24:23 +01:00
|
|
|
ext.archVersion = "2.2.0"
|
2023-02-01 17:11:39 +01:00
|
|
|
ext.composeVersion = "1.0.5"
|
|
|
|
ext.conscryptVersion = "2.5.2"
|
2023-03-31 04:17:11 +02:00
|
|
|
ext.conscryptVersion = "2.5.2"
|
2023-04-15 22:23:34 +02:00
|
|
|
ext.coreKtxVersion = "1.10.0"
|
2023-02-01 17:11:39 +01:00
|
|
|
ext.desugarLibVersion = "1.2.0"
|
|
|
|
ext.detektVersion = "1.22.0"
|
2023-04-22 21:15:55 +02:00
|
|
|
ext.emoji2Version = "1.3.0"
|
|
|
|
ext.exoplayerVersion = "2.18.6"
|
2023-01-17 13:42:47 +01:00
|
|
|
ext.glideVersion = "4.14.2"
|
2023-04-15 22:23:34 +02:00
|
|
|
ext.javaSourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
ext.javaTargetCompatibility = JavaVersion.VERSION_1_8
|
2023-02-01 17:11:39 +01:00
|
|
|
ext.junitVersion = "4.13.2"
|
2023-04-22 19:52:20 +02:00
|
|
|
ext.koinVersion = "3.3.3"
|
2023-03-31 04:17:11 +02:00
|
|
|
ext.kotlinJvmTarget = "1.8"
|
2023-04-22 21:15:55 +02:00
|
|
|
ext.kotlinJvmToolchain = 17
|
2023-04-22 19:52:20 +02:00
|
|
|
ext.kotlinVersion = "1.8.20"
|
2023-02-01 17:11:39 +01:00
|
|
|
ext.kotlinxCoroutinesVersion = "1.6.4"
|
2023-04-22 19:52:20 +02:00
|
|
|
ext.kspVersion = "1.8.20-1.0.11"
|
2023-04-22 21:15:55 +02:00
|
|
|
ext.lifecycleVersion = "2.6.1"
|
2023-03-31 04:17:11 +02:00
|
|
|
ext.materialVersion = "1.8.0"
|
2023-01-13 13:22:25 +01:00
|
|
|
ext.okhttpVersion = "4.10.0"
|
2023-03-31 04:17:11 +02:00
|
|
|
ext.preferenceVersion = "1.2.0"
|
2023-02-01 17:11:39 +01:00
|
|
|
ext.stBuildToolsVersion = "33.0.1"
|
|
|
|
ext.stCompileSdkVersion = 33
|
|
|
|
ext.stMinSdkVersion = 26
|
|
|
|
ext.stTargetSdkVersion = 33
|
2023-04-22 21:15:55 +02:00
|
|
|
ext.startupVersion = "1.1.1"
|
2023-02-01 17:11:39 +01:00
|
|
|
ext.testKtxVersion = "1.5.0"
|
2023-04-22 21:15:55 +02:00
|
|
|
ext.workVersion = "2.8.1"
|
2022-12-26 16:04:32 +01:00
|
|
|
|
2017-04-20 18:23:59 +02:00
|
|
|
repositories {
|
2018-09-27 16:21:37 +02:00
|
|
|
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-05-05 16:41:58 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:8.0.1'
|
2022-07-08 00:18:58 +02:00
|
|
|
|
|
|
|
// 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
|
|
|
|
2023-02-01 17:11:39 +01: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
|
|
|
|
2021-05-05 14:39:00 +02:00
|
|
|
classpath "com.github.bjoernq:unmockplugin:0.7.6"
|
2021-05-22 00:03:16 +02:00
|
|
|
|
2023-02-01 17:11:39 +01:00
|
|
|
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detektVersion"
|
2017-04-20 18:23:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2018-09-27 16:21:37 +02:00
|
|
|
google()
|
2023-01-15 06:04:37 +01:00
|
|
|
maven { url "https://maven.google.com" }
|
|
|
|
maven { url "https://jitpack.io" }
|
2021-05-05 14:39:00 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2022-05-29 07:00:51 +02:00
|
|
|
tasks.withType(JavaCompile) {
|
2023-01-15 06:04:37 +01:00
|
|
|
options.compilerArgs << "-Xlint:unchecked"
|
|
|
|
options.compilerArgs << "-Xlint:deprecation"
|
|
|
|
options.compilerArgs << "-Xlint:divzero"
|
2022-05-29 07:00:51 +02:00
|
|
|
}
|