-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle.kts
40 lines (34 loc) · 1.13 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 {
java
application
}
repositories {
mavenCentral()
}
dependencies {
val junitVersion = "5.11.4"
implementation("commons-io:commons-io:2.18.0")
implementation("com.auth0:java-jwt:4.3.0")
implementation("com.google.code.gson:gson:2.11.0")
implementation("org.json:json:20250107")
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
testImplementation("org.junit.jupiter:junit-jupiter-params:${junitVersion}")
testImplementation("org.assertj:assertj-core:3.27.2")
testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0")
testImplementation("com.google.jimfs:jimfs:1.3.0")
testImplementation("org.mockito:mockito-core:5.15.2")
}
tasks.test {
useJUnitPlatform()
}
tasks.jar {
manifest {
attributes["Main-Class"] = "eu.neufeldt.concoursegithubcredentials.Main"
}
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
java {
sourceCompatibility = JavaVersion.VERSION_17
}