-
Notifications
You must be signed in to change notification settings - Fork 66
/
build.gradle
79 lines (67 loc) · 1.73 KB
/
build.gradle
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath("com.google.firebase:firebase-crashlytics-gradle:3.0.2")
classpath("com.android.tools.build:gradle:${libs.versions.androidPluginVersion.get()}")
classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.8")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlinVersion.get()}")
classpath("org.jetbrains.kotlin:kotlin-allopen:${libs.versions.kotlinVersion.get()}")
classpath("org.jacoco:org.jacoco.core:0.8.12")
}
}
plugins {
id "com.diffplug.spotless" version "6.18.0"
id 'com.google.devtools.ksp' version "1.9.25-1.0.20" apply false
}
repositories {
mavenCentral()
google()
maven {
url("https://oss.sonatype.org/content/repositories/snapshots")
}
maven {
url("https://jcenter.bintray.com/")
}
}
subprojects {
repositories {
mavenCentral()
google()
maven {
url("https://oss.sonatype.org/content/repositories/snapshots")
}
//jcenter() // Currently required by url-manager
maven {
url("https://jcenter.bintray.com/")
}
maven {
url("https://kingargyle.github.io/repo")
}
maven {
url("https://jitpack.io")
}
}
apply plugin: "com.diffplug.spotless"
spotless {
format 'xml', {
target '**/layout*/*.xml'
indentWithSpaces(2)
eclipseWtp('xml').configFile rootProject.file('spotless.xml.prefs')
}
}
tasks.withType(Test).configureEach {
testLogging {
exceptionFormat = "full"
}
}
allprojects {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
}
}
}