forked from shadowsocks/shadowsocks-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
42 lines (35 loc) · 1.25 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.github.ben-manes.versions") version "0.39.0"
}
buildscript {
apply(from = "repositories.gradle.kts")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
val kotlinVersion = rootProject.extra["kotlinVersion"].toString()
classpath(rootProject.extra["androidPlugin"].toString())
classpath(kotlin("gradle-plugin", kotlinVersion))
classpath("com.google.android.gms:oss-licenses-plugin:0.10.5")
classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.1")
classpath("com.google.gms:google-services:4.3.13")
classpath("com.vanniktech:gradle-maven-publish-plugin:0.21.0")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.7.10")
classpath("org.mozilla.rust-android-gradle:plugin:0.9.3")
}
}
allprojects {
apply(from = "${rootProject.projectDir}/repositories.gradle.kts")
}
tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
}
// skip uploading the mapping to Crashlytics
subprojects {
tasks.whenTaskAdded {
if (name.contains("uploadCrashlyticsMappingFile")) enabled = false
}
}