2017-04-20 18:23:59 +02:00
|
|
|
buildscript {
|
2017-11-04 15:51:15 +01:00
|
|
|
|
2021-11-07 13:00:06 +01:00
|
|
|
ext.jvm_target = "1.8"
|
2021-11-06 03:11:28 +01:00
|
|
|
|
2022-08-11 09:51:49 +02:00
|
|
|
ext.min_sdk_version = 26
|
2022-08-12 04:51:05 +02:00
|
|
|
ext.target_sdk_version = 32
|
2022-09-10 23:09:26 +02:00
|
|
|
ext.compile_sdk_version = 33
|
2022-12-26 16:04:32 +01:00
|
|
|
ext.build_tools_version = "33.0.1"
|
2021-05-08 07:56:34 +02:00
|
|
|
|
2022-11-07 03:45:17 +01:00
|
|
|
ext.appcompat_version = "1.5.1"
|
2022-08-02 05:17:05 +02:00
|
|
|
ext.lifecycle_version = "2.5.1"
|
2021-10-27 22:58:19 +02:00
|
|
|
ext.arch_version = "2.1.0"
|
2018-09-27 16:21:37 +02:00
|
|
|
|
2022-11-07 03:45:17 +01:00
|
|
|
ext.kotlin_version = '1.7.20'
|
2022-08-02 05:17:05 +02:00
|
|
|
ext.kotlinx_coroutines_version = '1.6.4'
|
2021-11-06 03:25:11 +01:00
|
|
|
|
2021-11-06 03:11:28 +01:00
|
|
|
ext.anko_version = '0.10.8'
|
2017-11-04 15:51:15 +01:00
|
|
|
|
2021-11-06 03:11:28 +01:00
|
|
|
ext.junit_version = '4.13.2'
|
Android Studio 4.0.0, Android gradple plugin 4.0.1, Gradle 6.1.1, kotlin 1.4.0, espresso-core:3.3.0-rc03, androidx.test:runner:1.3.0-rc03, androidx.appcompat 1.2.0, androidx.core-ktx 1.3.1, androidx.drawerlayout 1.1.0, androidx.preference 1.1.1, com.google.android.material 1.2.0, firebase-messaging 20.2.4, com.google.android:flexbox 2.0.1, junit 4.13
2020-08-23 00:15:27 +02:00
|
|
|
|
2022-06-04 20:35:07 +02:00
|
|
|
ext.detekt_version = '1.21.0-RC1'
|
2021-10-27 22:58:19 +02:00
|
|
|
|
2021-11-20 01:36:43 +01:00
|
|
|
ext.compose_version = '1.0.5'
|
|
|
|
|
|
|
|
ext.koin_version = '3.1.3'
|
2021-06-20 05:02:30 +02:00
|
|
|
|
2022-12-26 16:04:32 +01:00
|
|
|
ext.androidx_test_version = '1.5.0'
|
|
|
|
|
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 {
|
2022-11-07 03:45:17 +01:00
|
|
|
classpath 'com.android.tools.build:gradle:7.3.1'
|
2022-07-08 00:18:58 +02:00
|
|
|
|
|
|
|
// room のバージョンの影響で google-services を上げられない場合がある
|
2022-11-07 03:45:17 +01:00
|
|
|
classpath 'com.google.gms:google-services:4.3.14'
|
2018-05-06 10:09:18 +02:00
|
|
|
|
2017-11-04 15:51:15 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2022-05-29 07:00:51 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
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
|
|
|
|
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 {
|
2018-09-27 16:21:37 +02:00
|
|
|
google()
|
2017-08-24 13:44:06 +02:00
|
|
|
maven { url 'https://maven.google.com' }
|
|
|
|
maven { url 'https://jitpack.io' }
|
2021-05-05 14:39:00 +02:00
|
|
|
|
|
|
|
mavenCentral()
|
|
|
|
|
|
|
|
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) {
|
|
|
|
options.compilerArgs << '-Xlint:unchecked'
|
|
|
|
options.compilerArgs << '-Xlint:deprecation'
|
|
|
|
options.compilerArgs << '-Xlint:divzero'
|
|
|
|
}
|