-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (39 loc) · 1004 Bytes
/
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
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* To learn more about Gradle by exploring our Samples at https://docs.gradle.org/8.7/samples
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
kotlin("jvm") version "1.9.20"
id("io.gitlab.arturbosch.detekt").version("1.23.3")
}
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
dependencies {
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:${detekt.toolVersion}")
}
kotlin {
jvmToolchain(17)
}
detekt {
toolVersion = "1.23.3"
source.setFrom(
"graphs-lab/src/main/kotlin",
"application/src/main/kotlin",
"graphs-lab/src/test/kotlin",
"application/src/test/kotlin",
)
parallel = true
config.setFrom("config/detekt.yml")
buildUponDefaultConfig = true
allRules = true
disableDefaultRuleSets = false
debug = false
ignoreFailures = false
basePath = projectDir.absolutePath
}