springdoc / springdoc-openapi-gradle-plugin

Library for OpenAPI 3 with spring-boot
https://springdoc.org
Apache License 2.0
145 stars 46 forks source link

Add dependency on inspectClassesForKotlinIC explicitly #110

Closed tadashiya closed 1 year ago

tadashiya commented 1 year ago

Motivation: resolve: #109

Modification: Add dependency on inspectClassesForKotlinIC to forkedSpringBootRun if the project uses Kotlin.

Note: I faced the same error as #109 when I upgraded Gradle to v8 with the kotlin project. I understand that there is a workaround discussed in #102. But if you could add the dependency to "inspectClassesForKotlinIC" in your plugin, it would be very nice for users. Please review this PR, and I want your idea. Thanks.

tadashiya commented 1 year ago

I found inspectClassesForKotlinIC is not used from Kotlin 1.8.20, and I don't need this change with it. https://kotlinlang.org/docs/whatsnew1820.html#new-jvm-incremental-compilation-by-default-in-gradle I will close this PR. Thanks.