-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
52 lines (42 loc) · 991 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
import org.gradle.kotlin.dsl.java
plugins {
id("java")
`jvm-test-suite`
}
java {
sourceCompatibility = JavaVersion.VERSION_17
}
group = "org.ravin"
version = "0.3.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.mockito:mockito-junit-jupiter:5.3.1")
}
testing{
suites {
val test by getting(JvmTestSuite::class) {
useJUnitJupiter()
}
register<JvmTestSuite>("integrationTest") {
dependencies {
implementation(project())
}
targets {
all {
testTask.configure {
shouldRunAfter(test)
}
}
}
}
}
}
tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "org.ravin.App"
}
}