Meshtastic-Android/build.gradle

52 lines
1.3 KiB
Groovy
Raw Permalink Normal View History

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
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 {
classpath libs.agp
classpath libs.kotlin.gradle.plugin
classpath libs.kotlin.serialization
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
if (useCrashlytics) {
classpath libs.google.services
classpath libs.firebase.crashlytics.gradle
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
classpath libs.protobuf.gradle.plugin
2020-07-20 12:08:46 -07:00
classpath libs.hilt.android.gradle.plugin
2020-01-20 15:53:22 -08:00
}
}
2023-09-05 06:21:08 -03:00
plugins {
alias (libs.plugins.kotlin.jvm) apply false
alias (libs.plugins.devtools.ksp) apply false
alias (libs.plugins.compose) 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
}