gradle swagger plugin DSL is not recognised in build.gradle.kts
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2020
12:16 AM
10-11-2020
12:16 AM
gradle swagger plugin DSL is not recognised in build.gradle.kts
Hi,
I'm trying using the gradle plugin
id("io.swagger.core.v3.swagger-gradle-plugin") version "2.1.5"
When adding the following DSL as in the git README, it is not recognised by gradle
The project is a Kotlin project with Spring Boot + SpringFox
Tx
resolve { outputFileName = 'PetStoreAPI' outputFormat = 'JSON' prettyPrint = 'TRUE' classpath = sourceSets.main.runtimeClasspath resourcePackages = ['io.test'] outputDir = file('test') }
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2020
12:27 AM
10-31-2020
12:27 AM
swagger-core (and gradle plugin) targets JAX-RS environment, and not Spring
