generated from detekt/detekt-custom-rule-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
31 lines (24 loc) · 816 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "2.0.21"
}
buildscript {
dependencies {
classpath("com.vanniktech:gradle-maven-publish-plugin:0.30.0")
}
}
apply(plugin="com.vanniktech.maven.publish")
dependencies {
compileOnly("io.gitlab.arturbosch.detekt:detekt-api:1.23.7")
testImplementation("io.gitlab.arturbosch.detekt:detekt-test:1.23.7")
testImplementation("io.kotest:kotest-assertions-core:5.9.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
}
kotlin {
jvmToolchain(8)
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
systemProperty("junit.jupiter.testinstance.lifecycle.default", "per_class")
systemProperty("compile-snippet-tests", project.hasProperty("compile-test-snippets"))
}