This commit is contained in:
parent
c84b4a597e
commit
a68abd2c6b
@ -19,7 +19,7 @@ steps:
|
||||
path: /tmp/cache
|
||||
|
||||
- name: build_application
|
||||
image: openjdk:8-jdk
|
||||
image: openjdk:11-jdk
|
||||
commands:
|
||||
- ./gradlew build -x test
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM openjdk:8-jre-alpine
|
||||
FROM openjdk:11-jre-alpine
|
||||
|
||||
ENV APPLICATION_USER ktor
|
||||
RUN adduser -D -g '' $APPLICATION_USER
|
||||
|
@ -55,9 +55,11 @@ dependencies {
|
||||
|
||||
kotlin.experimental.coroutines = 'enable'
|
||||
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
||||
kotlinOptions {
|
||||
jvmTarget = "11"
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
baseName = 'output-service-rdb'
|
||||
classifier = null
|
||||
version = null
|
||||
}
|
Loading…
Reference in New Issue
Block a user