-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
55 lines (41 loc) · 1.19 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
plugins {
id 'base'
id 'org.jetbrains.kotlin.jvm' version '1.7.10' apply(false)
}
wrapper {
distributionType = Wrapper.DistributionType.ALL
gradleVersion = '7.4'
}
println "Gradle version is ${gradle.getGradleVersion()}"
group 'info.laht.sspgen'
version = rootProject.file("VERSION").newReader().readLine()
println("Building ${project.name} v$version")
subprojects { sub ->
apply plugin: 'java'
group = rootProject.group
version = rootProject.version
repositories {
mavenCentral()
}
dependencies {
def junit_version = '5.3.2'
testImplementation("org.junit.jupiter:junit-jupiter-api:$junit_version")
testImplementation("org.junit.jupiter:junit-jupiter-params:$junit_version")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junit_version")
}
test {
failFast = true
useJUnitPlatform()
}
pluginManager.withPlugin('kotlin') {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}
}