Conversation
de0b6a5 to
85bea1e
Compare
| dependencies { | ||
| testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1") | ||
| testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.1") | ||
| testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.8.1") |
There was a problem hiding this comment.
consumers of the plugin using JUnit Platform will need to add this
| } | ||
|
|
||
| // Workaround for https://github.com/n0mer/gradle-git-properties/issues/260 | ||
| // The plugin crashes on Gradle 9 | ||
| tasks.withType(com.gorylenko.GenerateGitPropertiesTask).configureEach { | ||
| enabled = false |
There was a problem hiding this comment.
TODO: remove this once the issue is resolved
| // TODO: remove when upgrading io.cloudflight.autoconfigure-settings in settings.gradle.kts | ||
| // io.cloudflight.autoconfigure-settings 1.2.0 pulls in kotlin gradle plugin 2.1.20 | ||
| // this breaks the build as it depends on features only available up to gradle 8.13 | ||
| implementation(libs.kotlin.gradleplugin) | ||
|
|
85bea1e to
287c3d5
Compare
|
|
||
| /** | ||
| * Monkey-patched ModelModifier to use JavaType in resolve() call instead of Type. | ||
| * In groovy 3, type is automatically converted, but in groovy 4 (from gradle 9.0+) it is not. | ||
| * TODO: Remove this when https://github.com/gigaSproule/swagger-gradle-plugin/issues/186 is fixed. | ||
| */ | ||
| class ModelModifier extends ModelResolver { |
There was a problem hiding this comment.
we should really avoid this, but the only other solution i can think of is replacing com.benjaminsproule:swagger-gradle-plugin and gradle.plugin.org.hidetake:gradle-swagger-generator-plugin with other plugins that are still being maintained.
There was a problem hiding this comment.
replacement suggestions:
gradle.plugin.org.hidetake:gradle-swagger-generator-plugin => https://github.com/OpenAPITools/openapi-generator/tree/master
com.benjaminsproule:swagger-gradle-plugin => https://github.com/springdoc/springdoc-openapi-gradle-plugin
4bd2336 to
d171573
Compare
d171573 to
5129502
Compare
Signed-off-by: Alex Pichler <alex.pichler@cloudflight.io>
5129502 to
edf7091
Compare
Depends on cloudflightio/license-gradle-plugin#32
Upgrade Gradle to 9.3.0
Upgrade Kotlin & KGP to 2.3.0 (no longer supports versions <1.9)
Upgrade Publish Gradle Plugin to 2.0.0