KtaleDepsExtension

open class KtaleDepsExtension(objects: ObjectFactory)

Constructors

Link copied to clipboard
constructor(objects: ObjectFactory)

Properties

Link copied to clipboard

Extra dependencies that should be emitted even if they are not first-level runtime deps.

Link copied to clipboard
val mainClass: Property<String>

Optional: main class to write into ktale-plugin.properties.

Link copied to clipboard
val pluginId: Property<String>

Optional: plugin id to write into ktale-plugin.properties.

Functions

Link copied to clipboard
fun deliver(vararg deps: String)
Link copied to clipboard
fun repository(url: String)

DSL: repository("https://repo1.maven.org/maven2/")

fun repository(id: String, url: String)

DSL: repository("myRepo", "https://repo.example.com/maven/")

Link copied to clipboard
fun repositoryWithAuth(id: String, url: String, userEnvVar: String, passEnvVar: String)

DSL: repositoryWithAuth("private", "https://repo.example.com/maven/", "REPO_USER", "REPO_PASS")