-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle
57 lines (50 loc) · 1.46 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
plugins {
alias(libs.plugins.kotlinJvm) apply false
alias(libs.plugins.spotless)
alias(libs.plugins.mavenPublish)
alias(libs.plugins.dokka)
}
spotless {
kotlin {
target "**/*.kt"
targetExclude "**/gen/**/*.*"
ktlint('0.49.1').editorConfigOverride([
"indent_size": "2",
"disabled_rules": "package-name",
"ij_kotlin_allow_trailing_comma": "true",
"ij_kotlin_allow_trailing_comma_on_call_site": "true",
])
trimTrailingWhitespace()
endWithNewline()
}
}
allprojects {
repositories {
mavenCentral()
maven { url 'https://www.jetbrains.com/intellij-repository/releases' }
maven { url "https://cache-redirector.jetbrains.com/intellij-dependencies" }
maven { url "https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-ide-plugin-dependencies" }
}
group = GROUP
version = VERSION_NAME
}
subprojects {
apply(plugin: "org.jetbrains.kotlin.jvm")
kotlin.jvmToolchain(17)
tasks.withType(Test).configureEach {
testLogging {
events = ["failed", "skipped", "passed"]
exceptionFormat "full"
}
}
configurations.configureEach {
exclude group: 'com.jetbrains.rd'
exclude group: 'com.github.jetbrains', module: 'jetCheck'
exclude group: 'com.jetbrains.infra'
exclude group: 'org.roaringbitmap'
exclude group: 'ai.grazie.spell'
exclude group: 'ai.grazie.utils'
exclude group: 'ai.grazie.nlp'
exclude group: 'ai.grazie.model'
}
}