File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ plugins {
99group = groupId
1010version = koraVersion
1111
12+ application {
13+ applicationName = " application"
14+ mainClassName = " ru.tinkoff.kora.java.Application"
15+ applicationDefaultJvmArgs = [" -Dfile.encoding=UTF-8" ]
16+ }
17+
1218sourceCompatibility = JavaVersion . VERSION_21
1319targetCompatibility = JavaVersion . VERSION_21
1420
@@ -38,26 +44,20 @@ dependencies {
3844 testImplementation " org.testcontainers:junit-jupiter:1.19.8"
3945}
4046
41- application {
42- applicationName = " application"
43- mainClassName = " ru.tinkoff.kora.java.Application"
44- applicationDefaultJvmArgs = [" -Dfile.encoding=UTF-8" ]
45- }
46-
47- distTar {
48- archiveFileName = " application.tar"
49- }
50-
5147// noinspection GroovyAssignabilityCheck
5248run {
5349 environment([
5450 " " : " " ,
5551 ])
5652}
5753
58- test. dependsOn tasks. distTar
54+ distTar {
55+ archiveFileName = " application.tar"
56+ }
5957
6058test {
59+ dependsOn tasks. distTar
60+
6161 jvmArgs + = [
6262 " -XX:+TieredCompilation" ,
6363 " -XX:TieredStopAtLevel=1" ,
Original file line number Diff line number Diff line change 11groupId =ru.tinkoff.kora
2- koraVersion =1.1.19
2+ koraVersion =1.1.25
33
44
55# #### GRADLE #####
You can’t perform that action at this time.
0 commit comments