You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You could declare your plugin script jar in the settings.gradleplugins block. You could even put a little snippet of java code into your buildscripts jar which actually does blowdryerSetup { classpathJar ('myname') } for you automatically.
The text was updated successfully, but these errors were encountered:
// settings.gradleplugins {
id 'com.diffplug.blowdryerSetup' version '1.2.0'
id 'com.acme.blowdryer-scripts' version '3.0.0'
}
blowdryerSetup {
classpathJar('blowdryer-scripts')
}
But you could even simplify down to
// settings.gradleplugins {
id 'com.acme.blowdryer-scripts' version '3.0.0'
}
If your blowdryer-scripts jar has a single ConfigureBlowdryerPlugin.java which is just a Plugin<Settings> which does the blowdryerSetup part.
The next obvious feature after #12 is
classpathJar
, which could be implemented with something like this:You could declare your plugin script jar in the
settings.gradle
plugins
block. You could even put a little snippet of java code into your buildscripts jar which actually doesblowdryerSetup { classpathJar ('myname') }
for you automatically.The text was updated successfully, but these errors were encountered: