meshtastic-android/build.gradle

52 wiersze
1.3 KiB
Groovy

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
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 {
classpath libs.agp
classpath libs.kotlin.gradle.plugin
classpath libs.kotlin.serialization
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
if (useCrashlytics) {
classpath libs.google.services
classpath libs.firebase.crashlytics.gradle
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
classpath libs.protobuf.gradle.plugin
2020-07-20 19:08:46 +00:00
classpath libs.hilt.android.gradle.plugin
2020-01-20 23:53:22 +00:00
}
}
2023-09-05 09:21:08 +00: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 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
}