Skip to content

[BUG] [GRADLE] Plugin not compatible with gradle 6.0 #4496

Closed
@anelam

Description

@anelam
Description

Using the gradle plugin with gradle version 6.0 throws an exception:

An exception occurred applying plugin request [id: 'org.openapi.generator', version: '4.2.0']
> Failed to apply plugin [id 'org.openapi.generator']
   > Could not create an instance of type org.openapitools.generator.gradle.plugin.extensions.OpenApiGeneratorGenerateExtension.
      > Please use the ObjectFactory.mapProperty() method to create a property of type Map<K, V>.
openapi-generator version

4.2.0

build.gradle.kts
plugins {
    id("org.openapi.generator") version "4.2.0"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions