-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
74 lines (57 loc) · 1.71 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.31'
}
task application(type: Jar) {
manifest {
attributes 'Main-Class': 'MainKt'
}
archiveBaseName = project.name + '-all'
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}
group 'net.andreinc.serverneat'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile 'info.picocli:picocli:4.6.1'
// vertex
compile "io.vertx:vertx-core:4.0.2"
compile "io.vertx:vertx-web:4.0.2"
compile "io.vertx:vertx-lang-kotlin:4.0.2"
// mockneat
compile 'net.andreinc.mockneat:mockneat:0.3.9'
// logging
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.30'
compile 'io.github.microutils:kotlin-logging:2.0.6'
compile 'net.andreinc.ansiscape:ansiscape:0.0.2'
// json
compile 'com.google.code.gson:gson:2.8.6'
// kotlin scripting
compile "org.jetbrains.kotlin:kotlin-script-runtime"
compile "org.jetbrains.kotlin:kotlin-compiler-embeddable"
compile "org.jetbrains.kotlin:kotlin-script-util"
compile "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable"
// kotlin lib
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
// testing
testCompile group: 'io.vertx', name: 'vertx-junit5-web-client', version: '3.9.7'
testCompile 'org.junit.jupiter:junit-jupiter-api:5.7.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}