Skip to content

Plugin fails in gradle 8.1 with :forkedSpringBootRun #128

Closed
@EAlf91

Description

@EAlf91

I found the old issue being closed but it is not resolved yet.

Quote from the old ticket:

Unfortunately, this doesn't seem to be resolved.

Gradle version: 8.1
Plugin version: 1.7.0

This issue is still present. As some people mentioned, this workaround seems to work:

tasks {
  forkedSpringBootRun {
        doNotTrackState("See https://github.com/springdoc/springdoc-openapi-gradle-plugin/issues/102")
    }
}

Originally posted by @pcimcioch in #102 (comment)

same for me

Current Setup:

Gradle 8.1
------------------------------------------------------------

Build time:   2023-04-12 12:07:45 UTC
Revision:     40ba32cde9d6daf2b92c39376d2758909dd6b813

Kotlin:       1.8.10
Groovy:       3.0.15
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          17.0.7 (Amazon.com Inc. 17.0.7+7-LTS)
OS:           Windows 10 10.0 amd64


plugins {
    id "java"
    id "idea"
    id "org.springframework.boot" version "3.1.+"
    id "org.springdoc.openapi-gradle-plugin" version "1.7.0"
    id "io.spring.dependency-management" version "1.1.+"
    id "maven-publish"
}

The workaround did the trick for me too for now
            

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions