-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
56 lines (43 loc) · 976 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
45
46
47
48
49
50
51
52
53
54
55
56
plugins {
kotlin("jvm") version "1.9.10"
id("io.gitlab.arturbosch.detekt") version("1.23.1")
application
}
allprojects {
version = "1.0"
group = "com.example"
}
subprojects {
apply(plugin = "kotlin")
apply(plugin = "io.gitlab.arturbosch.detekt")
repositories {
mavenCentral()
}
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
}
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
testImplementation(kotlin("test"))
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.1")
detektPlugins("io.gitlab.arturbosch.detekt:detekt-rules-libraries:1.23.1")
detekt(project(":detekt-custom-rules"))
}
detekt {
autoCorrect = true
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(8)
}
application {
mainClass.set("MainKt")
}