-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
49 lines (44 loc) · 1.18 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
buildscript {
repositories {
google()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.android.tools.build:gradle:8.2.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23"
}
}
plugins {
id 'com.google.devtools.ksp' version '1.9.23-1.0.19' apply false
id "org.jlleitschuh.gradle.ktlint" version "12.1.0" apply false
}
subprojects {
apply plugin: "org.jlleitschuh.gradle.ktlint"
ktlint {
version.set("1.2.1")
android = true
outputToConsole = true
disabledRules = ["no-wildcard-imports"]
filter {
exclude { element ->
element.file.path.contains("/test/")
|| element.file.path.contains("\\test\\")
|| element.file.path.contains("/androidTest/")
|| element.file.path.contains("\\androidTest\\")
}
}
}
}
allprojects {
repositories {
google()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
maven { url "https://jitpack.io" }
}
}