forked from NerdNumber9/TachiyomiEH
-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.gradle.kts
executable file
·67 lines (58 loc) · 2.05 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
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
plugins {
id("com.android.application") version BuildPluginsVersion.AGP apply false
id("com.android.library") version BuildPluginsVersion.AGP apply false
kotlin("android") version BuildPluginsVersion.KOTLIN apply false
kotlin("plugin.serialization") version BuildPluginsVersion.KOTLIN
id("org.jlleitschuh.gradle.ktlint") version BuildPluginsVersion.KTLINT
id("com.github.ben-manes.versions") version BuildPluginsVersion.VERSIONS_PLUGIN
}
allprojects {
repositories {
mavenCentral()
google()
jcenter()
maven { setUrl("https://www.jitpack.io") }
maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots/") }
maven { setUrl("https://dl.bintray.com/ibm-cloud-sdks/ibm-cloud-sdk-repo") }
maven { setUrl("https://plugins.gradle.org/m2/") }
}
}
subprojects {
apply {
plugin("org.jlleitschuh.gradle.ktlint")
}
ktlint {
debug.set(false)
version.set(Versions.KTLINT)
verbose.set(true)
android.set(false)
outputToConsole.set(true)
ignoreFailures.set(false)
enableExperimentalRules.set(true)
disabledRules.set(setOf("standard:comment-wrapping", "experimental:comment-wrapping", "standard:enum-entry-name-case"))
filter {
exclude("**/generated/**")
include("**/kotlin/**")
}
}
}
buildscript {
dependencies {
classpath("com.github.ben-manes:gradle-versions-plugin:0.28.0")
classpath("com.google.gms:google-services:4.3.5")
classpath("com.google.android.gms:oss-licenses-plugin:0.10.6")
classpath(kotlin("serialization", version = "1.9.22"))
// Realm (EH)
classpath("io.realm:realm-gradle-plugin:10.12.0-transformer-api")
// Firebase (EH)
//classpath("io.fabric.tools:gradle:1.31.2")
classpath ("com.google.firebase:firebase-crashlytics-gradle:2.2.1")
}
repositories {
google()
mavenCentral()
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}