-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
51 lines (41 loc) · 1.01 KB
/
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
plugins {
java
kotlin("jvm") version "1.3.71"
id("com.github.johnrengelman.shadow") version "5.2.0"
}
group = "app.ryss"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
// Logging
implementation("org.slf4j", "slf4j-api", "2.0.0-alpha1")
implementation("ch.qos.logback", "logback-classic", "1.3.0-alpha5")
implementation("io.github.microutils", "kotlin-logging", "1.7.9")
implementation(kotlin("stdlib-jdk8"))
testImplementation("junit", "junit", "4.12")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {
archiveClassifier.value = "original"
}
shadowJar {
archiveFileName.value = "gateway-service.jar"
}
}
/**
* Represents the mutable value of a [Property].
*/
var <T> Property<T>.value: T?
get() = orNull
set(value) = set(value)