From e84520dd1a85bab350804637df3c5c630a28a2b0 Mon Sep 17 00:00:00 2001 From: Oleg Smelov Date: Thu, 4 Apr 2024 14:35:54 +0400 Subject: [PATCH] kotlin no debug --- Dockerfile | 2 +- build.gradle.kts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7571b45..24d1685 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ diff --git a/build.gradle.kts b/build.gradle.kts index 912f609..fc63c60 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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() ?: ""