Bug Report for Spring Boot 3 Native + Gradle Adding kotlin("kapt") plugin to Gradle of a simple Spring Boot project (generated on start.spring.io) causes many warning messages while building the project (e.g. ./gradlew bootRun):

$./gradlew bootRun
executing gradlew instead of gradle

> Task :processAot
Execution optimizations have been disabled for task ':processAot' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/Users/demo/demo-service/build/generated/aotClasses'. Reason: Task ':kaptAotKotlin' uses this output of task ':processAot' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: '/Users/demo/demo-service/build/generated/aotClasses'. Reason: Task ':kaptGenerateStubsAotKotlin' uses this output of task ':processAot' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: '/Users/demo/demo-service/build/generated/aotSources'. Reason: Task ':kaptAotKotlin' uses this output of task ':processAot' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: '/Users/demo/demo-service/build/generated/aotSources'. Reason: Task ':kaptGenerateStubsAotKotlin' uses this output of task ':processAot' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Gradle detected a problem with the following location: '/Users/demo/demo-service/build/generated/aotClasses'. Reason: Task ':kaptAotKotlin' uses this output of task ':processAot' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://docs.gradle.org/7.5/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Gradle detected a problem with the following location: '/Users/demo/demo-service/build/generated/aotClasses'. Reason: Task ':kaptGenerateStubsAotKotlin' uses this output of task ':processAot' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://docs.gradle.org/7.5/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Gradle detected a problem with the following location: '/Users/demo/demo-service/build/generated/aotSources'. Reason: Task ':kaptAotKotlin' uses this output of task ':processAot' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://docs.gradle.org/7.5/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Gradle detected a problem with the following location: '/Users/demo/demo-service/build/generated/aotSources'. Reason: Task ':kaptGenerateStubsAotKotlin' uses this output of task ':processAot' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://docs.gradle.org/7.5/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
...

I'm not sure what is the right solution for this, nor the consequences of leaving it as is. Let me know if you need more information. Thanks.