2020-01-20 23:53:22 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2022-10-04 03:12:39 +00:00
|
|
|
ext {
|
2023-01-19 14:24:42 +00:00
|
|
|
useCrashlytics = false
|
2024-06-30 14:11:11 +00:00
|
|
|
kotlin_version = '2.0.0'
|
2024-03-31 19:00:54 +00:00
|
|
|
hilt_version = '2.51.1'
|
2024-06-29 00:57:29 +00:00
|
|
|
protobuf_version = '4.27.2'
|
2022-10-04 03:12:39 +00:00
|
|
|
}
|
2020-04-05 19:56:57 +00:00
|
|
|
|
2020-01-20 23:53:22 +00:00
|
|
|
repositories {
|
|
|
|
google()
|
2020-01-23 02:32:21 +00:00
|
|
|
mavenCentral()
|
2020-01-20 23:53:22 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2024-06-13 20:41:09 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:8.5.0'
|
2020-01-20 23:53:22 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2020-04-20 00:25:20 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
|
|
|
2020-01-20 23:53:22 +00:00
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
2020-01-22 17:28:59 +00:00
|
|
|
|
2022-09-05 03:14:08 +00:00
|
|
|
// Firebase Crashlytics
|
2023-11-28 22:59:27 +00:00
|
|
|
if (useCrashlytics) {
|
2024-05-30 16:24:10 +00:00
|
|
|
classpath 'com.google.gms:google-services:4.4.2'
|
2024-06-20 19:45:12 +00:00
|
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2'
|
2023-01-19 14:24:42 +00:00
|
|
|
}
|
2020-01-23 02:32:21 +00:00
|
|
|
|
|
|
|
// protobuf plugin - docs here https://github.com/google/protobuf-gradle-plugin
|
2023-07-27 09:08:30 +00:00
|
|
|
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
|
2020-07-20 19:08:46 +00:00
|
|
|
|
2021-03-19 09:42:26 +00:00
|
|
|
// for unit testing https://github.com/bjoernQ/unmock-plugin
|
2024-06-30 12:04:46 +00:00
|
|
|
classpath 'com.github.bjoernq:unmockplugin:0.8.0'
|
2022-02-08 21:50:21 +00:00
|
|
|
|
|
|
|
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
|
2020-01-20 23:53:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-05 09:21:08 +00:00
|
|
|
plugins {
|
2023-09-05 10:39:19 +00:00
|
|
|
id "org.jetbrains.kotlin.jvm" version "$kotlin_version" apply false
|
2024-06-30 14:12:51 +00:00
|
|
|
id "com.google.devtools.ksp" version "2.0.0-1.0.22" apply false
|
2024-06-30 14:11:11 +00:00
|
|
|
id "org.jetbrains.kotlin.plugin.compose" version "$kotlin_version" apply false
|
2023-09-05 09:21:08 +00:00
|
|
|
}
|
|
|
|
|
2022-02-06 02:11:53 +00:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
// jcenter()
|
|
|
|
maven { url 'https://jitpack.io' }
|
|
|
|
//maven { url "https://plugins.gradle.org/m2/" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-20 23:53:22 +00:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|