sdkman / sdkman-vendor-gradle-plugin

A plugin for Gradle to allow Vendors to release Candidate Versions on SDKMAN!
Apache License 2.0
15 stars 12 forks source link

Can't defer sdkM*Release task settings #2

Open pledbrook opened 9 years ago

pledbrook commented 9 years ago

The plugin is currently too eager in checking settings, i.e. it's done at configuration time. This precludes fully dynamic configuration which can occur during the execution phase. A similar issue was raised for the Lazybones plugin.

My specific requirement is that I want to allow developers to install and test Lazybones locally without requiring credentials for Bintray and SDK.env. You only need those credentials when publishing a new release. To handle this case, I configure the credentials within a taskGraph.whenReady block. Unfortunately that's just not possible with the plugin currently.