From 66498c8fadbb16f6ce64d2e5383b6431429c6978 Mon Sep 17 00:00:00 2001 From: Anton Kurako Date: Wed, 23 Apr 2025 00:27:11 +0300 Subject: [PATCH] 1.1.25 --- build.gradle | 22 +++++++++++----------- gradle.properties | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index 9045b96..b9b0684 100644 --- a/build.gradle +++ b/build.gradle @@ -9,6 +9,12 @@ plugins { group = groupId version = koraVersion +application { + applicationName = "application" + mainClassName = "ru.tinkoff.kora.java.Application" + applicationDefaultJvmArgs = ["-Dfile.encoding=UTF-8"] +} + sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 @@ -38,16 +44,6 @@ dependencies { testImplementation "org.testcontainers:junit-jupiter:1.19.8" } -application { - applicationName = "application" - mainClassName = "ru.tinkoff.kora.java.Application" - applicationDefaultJvmArgs = ["-Dfile.encoding=UTF-8"] -} - -distTar { - archiveFileName = "application.tar" -} - //noinspection GroovyAssignabilityCheck run { environment([ @@ -55,9 +51,13 @@ run { ]) } -test.dependsOn tasks.distTar +distTar { + archiveFileName = "application.tar" +} test { + dependsOn tasks.distTar + jvmArgs += [ "-XX:+TieredCompilation", "-XX:TieredStopAtLevel=1", diff --git a/gradle.properties b/gradle.properties index efbadb5..8a707ff 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ groupId=ru.tinkoff.kora -koraVersion=1.1.19 +koraVersion=1.1.25 ##### GRADLE #####