forked from wmacgyver/javalin-http2-example
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
50 lines (42 loc) · 1.17 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
group 'io.javalin'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.5.20'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
def jettyVersion = '9.4.43.v20210629'
def alpnBootVersion = '8.1.12.v20180117'
def alpnApiVersion = '1.1.3.v20160715'
def javalinVersion = '4.0.0'
def slf4jVersion = '1.7.32'
compile "org.eclipse.jetty.http2:http2-server:$jettyVersion"
compile "org.eclipse.jetty:jetty-alpn-conscrypt-server:$jettyVersion"
compile "org.eclipse.jetty.alpn:alpn-api:$alpnApiVersion"
runtime "org.mortbay.jetty.alpn:alpn-boot:$alpnBootVersion"
compile "io.javalin:javalin:$javalinVersion"
compile "org.slf4j:slf4j-api:$slf4jVersion"
runtime "org.slf4j:slf4j-simple:$slf4jVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}