Meshtastic-Android/build.gradle

55 lines
1.6 KiB
Groovy
Raw 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
kotlin_version = '2.1.10'
hilt_version = '2.55'
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 {
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"
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
if (useCrashlytics) {
classpath 'com.google.gms:google-services:4.4.2'
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
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
2020-07-20 12:08:46 -07: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
id "com.google.devtools.ksp" version "2.0.21-1.0.28" apply false
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
}