This repository has been archived by the owner on May 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
77 lines (59 loc) · 1.89 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
75
76
77
plugins {
id 'java'
id 'application'
id 'org.jetbrains.kotlin.jvm' version "1.3.60"
id 'com.google.cloud.tools.jib' version '1.8.0'
}
group 'com.kcibald'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
jcenter()
}
application {
mainClassName = 'com.kcibald.services.fronting.Bootstrap'
}
def vertxVersion = "4.0.0-milestone4"
def junitVersion = "5.5.2"
dependencies {
// logging
compile 'ch.qos.logback:logback-classic:1.3.0-alpha5'
// core vertx dependency
implementation "io.vertx:vertx-core:$vertxVersion"
compile "io.vertx:vertx-web:$vertxVersion"
testImplementation "io.vertx:vertx-junit5:$vertxVersion"
implementation 'io.github.tsegismont:vertx-contextual-logging:1.0.0-alpha2'
implementation 'com.github.wusatosi:kotlin-recaptcha-client:7b89048b41'
implementation 'com.github.FirePillow:KCIbald-shared-obj:0915a97a99'
compile 'commons-validator:commons-validator:1.6'
compile "io.vertx:vertx-auth-common:$vertxVersion"
compile "io.vertx:vertx-auth-jwt:$vertxVersion"
compile "io.vertx:vertx-lang-kotlin:$vertxVersion"
compile "io.vertx:vertx-lang-kotlin-coroutines:$vertxVersion"
// kotlin language dependency
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2-1.3.60'
compile "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.3.2"
// for fun (startup banner)
compile 'com.github.lalyos:jfiglet:0.0.8'
// config
compile 'com.uchuhimo:konf:0.21.0'
// test framework
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
test {
useJUnitPlatform()
}
jib {
container {
ports = ["8080"]
creationTime = "USE_CURRENT_TIMESTAMP"
}
}