Knotx / knotx-gradle-plugins

Gradle plugins that help manage Knot.x modules builds.
https://knotx.io
Apache License 2.0
1 stars 3 forks source link

Enable custom configuration of the distribution plugin #11

Open malaskowski opened 4 years ago

malaskowski commented 4 years ago

Description

Currently, the distribution plugin requires configuring following properties:

In case, when some of those properties is dynamic, there is no way to override it from the build script.

What I want

Make distribution plugin tasks configurable so that I can use it and override its properties, e.g.:

tasks.register<io.knotx.distribution.Download>("myDownloadDistribution") {
  version = "2.1.1"
  outputDir = "$buildDir/distribution"
}