abstract fun version(version: String): PluginDependencySpec
Specify the version of the plugin to depend on.
plugins { id "org.company.myplugin" version "1.0" }
By default, dependencies have no (i.e. null
) version.
version
- the version string (null
for no specified version, which is the default)
Return
this