You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1015 B
44 lines
1015 B
plugins {
|
|
id "org.openapi.generator" version "6.2.0"
|
|
}
|
|
|
|
apply plugin:'base'
|
|
|
|
repositories {
|
|
// Use Maven Central for resolving dependencies.
|
|
mavenCentral()
|
|
}
|
|
|
|
openApiGenerate {
|
|
generatorName = "java"
|
|
inputSpec = "$rootDir/aoclient_v1.yml".toString()
|
|
outputDir = "$buildDir/generated".toString()
|
|
apiPackage = "de.fettlaus.aoclient.api"
|
|
invokerPackage = "de.fettlaus.aoclient.invoker"
|
|
modelPackage = "de.fettlaus.aoclient.model"
|
|
groupId = "de.fettlaus"
|
|
id = "aoclient"
|
|
version = "0.0.1"
|
|
configOptions = [
|
|
dateLibrary: "java8"
|
|
]
|
|
}
|
|
|
|
project(":api") {
|
|
dependencies {
|
|
project(":gen")
|
|
}
|
|
|
|
publishing {
|
|
repositories {
|
|
maven {
|
|
url = 'https://git.fettlaus.de/api/packages/fettlaus/maven'
|
|
name = 'gitea'
|
|
authentication {
|
|
header(HttpHeaderAuthentication)
|
|
}
|
|
credentials(HttpHeaderCredentials)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|