Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #962
Closed
Open
Issue created Sep 04, 2018 by Administrator@rootContributor

[openapi-generator-gradle-plugin] - Failure with Gradle 4.10

Created by: fmartinou

Description

Hello, the openapi-generator-gradle-plugin seems to be broken with Gradle 4.10.

org.gradle.kotlin.dsl.NamedDomainObjectContainerScope.invoke(Ljava/lang/String;Lkotlin/reflect/KClass;)Ljava/lang/Object;
openapi-generator version

org.openapitools:openapi-generator-gradle-plugin:3.2.3

Platform

Gradle 4.10

Build time: 2018-08-27 18:35:06 UTC Revision: ee3751ed9f2034effc1f0072c2b2ee74b5dce67d

Kotlin DSL: 1.0-rc-3 Kotlin: 1.2.60 Groovy: 2.4.15 Ant: Apache Ant(TM) version 1.9.11 compiled on March 23 2018 JVM: 1.8.0_181 (Oracle Corporation 25.181-b13) OS: Linux 4.15.0-32-generic amd64

OpenAPI declaration file content or url

build.gradle

buildscript {
    dependencies {
        classpath "org.openapitools:openapi-generator-gradle-plugin:3.2.3"
    }
}

apply plugin: 'org.openapi.generator'
openApiGenerate {
...
}
Command line used for generation

./gradlew build

Steps to reproduce

It works with gradlew 4.8 and 4.9. It fails with gradlew 4.10.

Suggest a fix/enhancement
Assignee
Assign to
Time tracking