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
|
2025-02-15 18:43:43 +00:00
|
|
|
kotlin_version = '2.1.10'
|
2025-02-15 22:50:24 +00:00
|
|
|
hilt_version = '2.55'
|
2025-02-15 22:10:39 +00:00
|
|
|
protobuf_version = '4.29.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-12-02 20:30:08 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:8.7.3'
|
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-05-30 16:24:10 +00:00
|
|
|
classpath 'com.google.gms:google-services:4.4.2'
|
2025-02-15 23:12:07 +00:00
|
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.3'
|
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
|
|
|
|
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-11-16 04:23:54 +00:00
|
|
|
id "com.google.devtools.ksp" version "2.0.21-1.0.28" apply false
|
2024-06-30 11:11:11 -03:00
|
|
|
id "org.jetbrains.kotlin.plugin.compose" version "$kotlin_version" 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
|
|
|
|
|
}
|