-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (43 loc) · 1.02 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.9.10'
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'application'
}
group = 'org.example'
version = 'v.1.0.0'
repositories {
mavenCentral()
}
application {
mainClass = 'org.example.IMDB'
}
shadowJar {
manifest {
attributes(
'Main-Class': 'org.example.IMDB'
)
}
}
dependencies {
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.7.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.reflections:reflections:0.9.12"
runtimeOnly 'com.fasterxml.jackson.core:jackson-databind:2.12.7.1'
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17