This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (61 loc) · 1.66 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
65
66
67
68
69
70
71
72
73
74
buildscript {
ext {
kotest_version = "4.4.3"
mockk_version = "1.11.0"
kotlin_version = "1.4.10"
}
repositories {
jcenter()
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:6.1.0"
}
}
plugins {
id "jacoco"
id "org.jetbrains.kotlin.jvm" version "$kotlin_version"
id "com.github.johnrengelman.shadow" version "6.1.0"
}
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: "java"
apply plugin: "application"
mainClassName = "org.quicache.engine.QuicacheRunner"
group "org.quicache"
version "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
shadowJar {
minimize()
archiveBaseName.set(rootProject.name)
archiveClassifier.set("")
archiveVersion.set("")
destinationDir = file("$rootDir/resources")
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "io.kotest:kotest-runner-junit5-jvm:$kotest_version"
testImplementation "io.kotest:kotest-runner-junit5:$kotest_version"
testImplementation "io.kotest:kotest-assertions-core:$kotest_version"
testImplementation "io.kotest:kotest-property:$kotest_version"
testImplementation "io.mockk:mockk:$mockk_version"
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
kotlinOptions {
jvmTarget = '1.8'
apiVersion = '1.4'
languageVersion = '1.4'
}
}
jacocoTestReport {
reports {
xml.enabled true
csv.enabled true
html.enabled true
}
}
test {
useJUnitPlatform()
}