[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.