-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (54 loc) · 1.48 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
56
57
58
59
60
61
62
63
64
buildscript {
ext.kotlin_version = '1.6.10'
ext.junit5_version = '5.7.2'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "org.jetbrains.kotlin.jvm" version "$kotlin_version"
}
apply plugin: 'java'
apply plugin: 'kotlin'
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.4")
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junit5_version
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: junit5_version
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junit5_version
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
test {
// set heap size for the test JVM(s)
minHeapSize = "128m"
maxHeapSize = "12192m"
useJUnitPlatform() {
excludeTags 'slow'
}
}
jar {
manifest {
attributes "Main-Class": "org.kobdd.KosatKt"
attributes "Created-By": "https://github.com/korifey/kobdd"
version '1.0'
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}