Gradle Configuration
This page documents the Gradle configuration surface exposed by tapik.
Root Extension
The Gradle plugin registers one tapik extension:
tapik {
basePackage("com.acme.catalog")
generatedPackageName("generated")
endpointsSuffix("Endpoints")
springRestClient { }
springWebMvc { }
markdownDocumentation { }
}
Root properties
| Setting | Required | Default | Purpose |
|---|---|---|---|
|
No |
Project group when unset or blank |
Base package scanned for |
|
No |
|
Package segment appended to source packages for generated Kotlin sources |
|
No |
|
Suffix appended to generated endpoint container interfaces |
Generator blocks
Generator blocks do two things:
-
they enable the generator,
-
they supply generator-specific naming options where available.
| Block | Current support | Default |
|---|---|---|
|
Enables Spring |
|
|
Enables Spring |
|
|
Enables |
No extra settings |
What this configuration does not include
The current Gradle plugin does not expose:
-
Maven configuration,
-
per-endpoint include or exclude rules,
-
generator blocks beyond the current
SpringandMarkdownset.