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