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-04-24 10:31:44 -03:00
|
|
|
ext.kotlin_version = '1.6.21'
|
2022-03-08 10:12:59 -03:00
|
|
|
ext.coroutines_version = '1.6.0'
|
|
|
|
|
ext.room_version = '2.4.2'
|
2022-02-08 13:50:21 -08:00
|
|
|
ext.hilt_version = '2.40.5'
|
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 {
|
2022-04-19 16:41:34 -03:00
|
|
|
classpath 'com.android.tools.build:gradle:7.1.3'
|
2020-01-20 15:53:22 -08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2020-04-19 17:25:20 -07:00
|
|
|
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
|
|
|
|
2020-01-22 13:40:57 -08:00
|
|
|
// Add the Crashlytics Gradle plugin.
|
|
|
|
|
// Check that you have the Google Services Gradle plugin v4.3.2 or later
|
|
|
|
|
// (if not, add it).
|
2021-08-29 14:15:33 -07:00
|
|
|
classpath 'com.google.gms:google-services:4.3.10'
|
2021-12-15 12:42:12 -03:00
|
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
|
2020-01-22 18:32:21 -08:00
|
|
|
|
|
|
|
|
// protobuf plugin - docs here https://github.com/google/protobuf-gradle-plugin
|
2022-01-26 17:34:46 -03:00
|
|
|
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.17'
|
2020-07-20 12:08:46 -07:00
|
|
|
|
|
|
|
|
//classpath "app.brant:amazonappstorepublisher:0.1.0"
|
|
|
|
|
classpath 'com.github.triplet.gradle:play-publisher:2.8.0'
|
2021-03-19 17:42:26 +08:00
|
|
|
|
|
|
|
|
// for unit testing https://github.com/bjoernQ/unmock-plugin
|
2021-11-28 16:42:51 -03:00
|
|
|
classpath 'com.github.bjoernq:unmockplugin:0.7.9'
|
2022-02-08 13:50:21 -08:00
|
|
|
|
|
|
|
|
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
|
2020-01-20 15:53:22 -08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-05 21:11:53 -05:00
|
|
|
allprojects {
|
|
|
|
|
repositories {
|
|
|
|
|
maven {
|
|
|
|
|
// Per https://docs.mapbox.com/android/maps/guides/install/ we now need to signin to download mapbox lib
|
|
|
|
|
url 'https://api.mapbox.com/downloads/v2/releases/maven'
|
|
|
|
|
authentication {
|
|
|
|
|
basic(BasicAuthentication)
|
|
|
|
|
}
|
|
|
|
|
credentials {
|
|
|
|
|
// Do not change the username below.
|
|
|
|
|
// This should always be `mapbox` (not your username).
|
|
|
|
|
username = 'mapbox'
|
|
|
|
|
// Use the secret token you stored in gradle.properties as the password
|
|
|
|
|
password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
|
}
|