diff --git a/doc-examples/example-kotlin-ksp/build.gradle.kts b/doc-examples/example-kotlin-ksp/build.gradle.kts index 7f0ecd153..fe7232dfc 100644 --- a/doc-examples/example-kotlin-ksp/build.gradle.kts +++ b/doc-examples/example-kotlin-ksp/build.gradle.kts @@ -12,9 +12,7 @@ micronaut { } dependencies { - ksp(mn.micronaut.inject.kotlin) ksp(projects.micronautSerdeProcessor) - annotationProcessor(projects.micronautSerdeProcessor) implementation(projects.micronautSerdeJackson) implementation(mn.micronaut.http.client) @@ -24,10 +22,6 @@ dependencies { testImplementation(mnTest.micronaut.test.junit5) } -application { - mainClass.set("example.ApplicationKt") -} - java { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 diff --git a/doc-examples/example-kotlin/build.gradle.kts b/doc-examples/example-kotlin/build.gradle.kts index 6be2e2521..e8589a45c 100644 --- a/doc-examples/example-kotlin/build.gradle.kts +++ b/doc-examples/example-kotlin/build.gradle.kts @@ -9,14 +9,14 @@ micronaut { runtime("netty") testRuntime("junit5") } + dependencies { - annotationProcessor(projects.micronautSerdeProcessor) + kapt(projects.micronautSerdeProcessor) + implementation(projects.micronautSerdeJackson) implementation(mn.micronaut.http.client) + runtimeOnly(mnLogging.logback.classic) + testImplementation(mnTest.micronaut.test.junit5) - kapt(projects.micronautSerdeProcessor) -} -application { - mainClass.set("example.ApplicationKt") }