-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 1.04 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
plugins {
id("java")
id("com.github.johnrengelman.shadow") version "7.1.2"
}
group = "dev.memphis"
version = "0.0.1-SNAPSHOT"
description = "memphis-java-sdk"
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.0")
implementation("io.nats:jnats:2.16.9")
implementation("io.github.hakky54:sslcontext-kickstart-for-pem:7.4.0")
implementation("org.apache.logging.log4j:log4j-api:2.20.0")
implementation("org.apache.logging.log4j:log4j-core:2.20.0")
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.0")
implementation("com.fasterxml.jackson.core:jackson-annotations:2.14.0")
}
configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
tasks {
withType<Test>().configureEach {
useJUnitPlatform()
}
withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
}
shadowJar
}