mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 21:10:22 +00:00
19 lines
343 B
Groovy
19 lines
343 B
Groovy
|
buildscript {
|
||
|
repositories {
|
||
|
mavenLocal()
|
||
|
jcenter()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
classpath 'io.github.robwin:swagger2markup:0.6.0'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
task gendocs << {
|
||
|
io.github.robwin.swagger2markup.Swagger2MarkupConverter
|
||
|
.from("./input.json")
|
||
|
.build()
|
||
|
.intoFolder("./");
|
||
|
println '*** generating docs to ./'
|
||
|
}
|