Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -38,26 +44,20 @@ 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([
"": "",
])
}

test.dependsOn tasks.distTar
distTar {
archiveFileName = "application.tar"
}

test {
dependsOn tasks.distTar

jvmArgs += [
"-XX:+TieredCompilation",
"-XX:TieredStopAtLevel=1",
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
groupId=ru.tinkoff.kora
koraVersion=1.1.19
koraVersion=1.1.25


##### GRADLE #####
Expand Down
Loading