Skip to content

Commit

Permalink
fix: Fix startup message
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCizmar committed Sep 9, 2024
1 parent ec5f17c commit 842e044
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
23 changes: 12 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,18 @@ ktlint {
rootProject.subprojects {
afterEvaluate {
def skipServerBuild = System.getenv("SKIP_SERVER_BUILD") == "true"
tasks.findByName("compileKotlin")?.enabled = !skipServerBuild
tasks.findByName("kaptGenerateStubsTestKotlin")?.enabled = !skipServerBuild
tasks.findByName("kaptGenerateStubsKotlin")?.enabled = !skipServerBuild
tasks.findByName("kaptKotlin")?.enabled = !skipServerBuild
tasks.findByName("bootBuildInfo")?.enabled = !skipServerBuild
tasks.findByName("compileJava")?.enabled = !skipServerBuild
tasks.findByName("bootJarMainClassName")?.enabled = !skipServerBuild
tasks.findByName("jar")?.enabled = !skipServerBuild
tasks.findByName("bootJar")?.enabled = !skipServerBuild
tasks.findByName("classes")?.enabled = !skipServerBuild
tasks.findByName("compileTestKotlin")?.enabled = !skipServerBuild
tasks.findByName("compileKotlin")?.onlyIf { !skipServerBuild }
tasks.findByName("kaptGenerateStubsTestKotlin")?.onlyIf { !skipServerBuild }
tasks.findByName("kaptGenerateStubsKotlin")?.onlyIf { !skipServerBuild }
tasks.findByName("kaptKotlin")?.onlyIf { !skipServerBuild }
tasks.findByName("bootBuildInfo")?.onlyIf { !skipServerBuild }
tasks.findByName("compileJava")?.onlyIf { !skipServerBuild }
tasks.findByName("bootJarMainClassName")?.onlyIf { !skipServerBuild }
tasks.findByName("jar")?.onlyIf { !skipServerBuild }
tasks.findByName("bootJar")?.onlyIf { !skipServerBuild }
tasks.findByName("classes")?.onlyIf { !skipServerBuild }
tasks.findByName("classes")?.onlyIf { !skipServerBuild }
tasks.findByName("compileTestKotlin")?.onlyIf { !skipServerBuild }
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/e2e.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ task waitForRunningContainer(type: Task, group: "e2e") {
String s = null
while ((s = stdInput.readLine()) != null) {
println(s)
if (s.contains("Tomcat started on port(s):")) {
if (s.contains("Tomcat started on port 8084 (http)")) {
return
}
}
Expand Down

0 comments on commit 842e044

Please sign in to comment.