meshtastic-android/build.gradle

57 wiersze
1.7 KiB
Groovy
Czysty Zwykły widok Historia

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
kotlin_version = '1.9.23'
hilt_version = '2.51.1'
protobuf_version = '3.25.3'
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 'com.android.tools.build:gradle:8.3.2'
2020-01-20 23:53:22 +00:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
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 'com.google.gms:google-services:4.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
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 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
2020-07-20 19:08:46 +00:00
// for unit testing https://github.com/bjoernQ/unmock-plugin
2021-11-28 19:42:51 +00:00
classpath 'com.github.bjoernq:unmockplugin:0.7.9'
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
2020-01-20 23:53:22 +00:00
}
}
2023-09-05 09:21:08 +00:00
plugins {
2023-09-05 10:39:19 +00:00
id "org.jetbrains.kotlin.jvm" version "$kotlin_version" apply false
id "com.google.devtools.ksp" version "1.9.23-1.0.20" 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
}