add stuff
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Torma Kristóf 2020-05-20 15:16:29 +02:00
parent c84b4a597e
commit a68abd2c6b
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
3 changed files with 7 additions and 5 deletions

View File

@ -19,7 +19,7 @@ steps:
path: /tmp/cache
- name: build_application
image: openjdk:8-jdk
image: openjdk:11-jdk
commands:
- ./gradlew build -x test

View File

@ -1,4 +1,4 @@
FROM openjdk:8-jre-alpine
FROM openjdk:11-jre-alpine
ENV APPLICATION_USER ktor
RUN adduser -D -g '' $APPLICATION_USER

View File

@ -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
}