Lint and Format does not exclude the generated source codes #257
-
I follow the getting started guide to setup DataFrame in my Spring/Kotlin project. When I build the project, it seems the SourceSets excludes does not work. > Task :formatKotlinMain
Execution optimizations have been disabled for task ':formatKotlinMain' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: 'D:\FreelanceProjects\sami\etip-backend\build\generated\ksp\main\kotlin'. Reason: Task ':formatKotlinMain' uses this output o
f task ':kspKotlin' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refe
r to https://docs.gradle.org/7.6/userguide/validation_problems.html#implicit_dependency for more details about this problem.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Remove the ksp plugin, the format/link works, but #256 is another problem |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
Indeed, we need to update to 1.8.10 (and eventually 1.8.20). Since we use KSP, your Kotlin version needs to be an exact match with the project. So, if you can, stay on Kotlin 1.8.0 until our next update. Otherwise, you can try to build the project from sources, change the kotlin version and install to maven local (or make a PR and use a dev-version after it's been merged)