meshtastic-android/build.gradle

53 wiersze
1.6 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.8.21'
2023-05-24 09:25:09 +00:00
hilt_version = '2.46.1'
2023-05-24 09:25:49 +00:00
protobuf_version = '3.23.1'
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:7.4.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
2023-01-19 14:24:42 +00:00
if (project.findProperty("useCrashlytics") == true) {
println("useCrashlytics classpath $useCrashlytics")
2023-02-13 21:30:10 +00:00
classpath 'com.google.gms:google-services:4.3.15'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.5'
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
2023-02-07 21:07:33 +00:00
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.19'
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
}
}
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
}