Skip to content

Commit

Permalink
kotlin
Browse files Browse the repository at this point in the history
no debug
  • Loading branch information
Oleg Smelov committed Apr 4, 2024
1 parent fa58407 commit e84520d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ FROM gradle:7.6-jdk11 AS build
ARG release_version
ARG vcs_url
COPY ./ .
RUN gradle --debug --stacktrace --no-daemon clean build dockerPrepare -Prelease_version=${release_version} -Pvcs_url=${vcs_url}
RUN gradle --no-daemon clean build dockerPrepare -Prelease_version=${release_version} -Pvcs_url=${vcs_url}

FROM adoptopenjdk/openjdk11:alpine
ENV GRPC_PORT=8080 \
Expand Down
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ plugins {
id("application")
id("java")

kotlin("jvm") version "1.8.22" apply false
kotlin("jvm") version "1.8.22"

val th2PluginVersion = "0.0.4"
id("com.exactpro.th2.gradle.base") version th2PluginVersion
id("com.exactpro.th2.gradle.component") version th2PluginVersion
}

kotlin {
jvmToolchain(11)
}

allprojects {
val version = project.properties["release_version"].toString()
val suffix = project.properties["version_suffix"]?.toString() ?: ""
Expand Down

0 comments on commit e84520d

Please sign in to comment.