COMMAND: ./gradlew --offline --no-daemon --console=plain test --tests example.tasks.TaskServerLifecycleTest installDist packageTest
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 
> Task :checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :domain:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :domain:compileKotlin UP-TO-DATE
> Task :domain:compileJava NO-SOURCE
> Task :domain:processResources NO-SOURCE
> Task :domain:classes UP-TO-DATE
> Task :domain:jar UP-TO-DATE
> Task :processResources NO-SOURCE
> Task :processTestResources NO-SOURCE
> Task :domain:compileTestKotlin NO-SOURCE
> Task :domain:compileTestJava NO-SOURCE
> Task :domain:processTestResources NO-SOURCE
> Task :domain:testClasses UP-TO-DATE
> Task :domain:test NO-SOURCE

> Task :compileKotlin
e: file:///home/admin/workspace/my-blogs/examples/kotlin-language/src/main/kotlin/example/tasks/TaskHttpRoutes.kt:124:27 Unresolved reference 'header'.
e: file:///home/admin/workspace/my-blogs/examples/kotlin-language/src/main/kotlin/example/tasks/TaskServerMain.kt:37:8 Too many arguments for 'fun addShutdownHook(p0: Thread!): Unit'.
e: file:///home/admin/workspace/my-blogs/examples/kotlin-language/src/main/kotlin/example/tasks/TaskServerMain.kt:37:29 Syntax error: Unexpected tokens (use ';' to separate expressions on the same line).

> Task :compileKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 39s
3 actionable tasks: 1 executed, 2 up-to-date
EXIT_CODE=1
