mirror of
https://github.com/gradle/actions.git
synced 2025-04-23 03:09:20 +08:00
Allow the plugin version to be optional
This commit is contained in:
parent
e36e909388
commit
7c19ee1e3d
@ -128,7 +128,7 @@ def ciAutoInjectionCustomValueValue = getInputParam('develocity.auto-injection.c
|
|||||||
|
|
||||||
def atLeastGradle5 = GradleVersion.current() >= GradleVersion.version('5.0')
|
def atLeastGradle5 = GradleVersion.current() >= GradleVersion.version('5.0')
|
||||||
def atLeastGradle4 = GradleVersion.current() >= GradleVersion.version('4.0')
|
def atLeastGradle4 = GradleVersion.current() >= GradleVersion.version('4.0')
|
||||||
def shouldApplyDevelocityPlugin = atLeastGradle5 && isAtLeast(develocityPluginVersion, '3.17')
|
def shouldApplyDevelocityPlugin = atLeastGradle5 && develocityPluginVersion && isAtLeast(develocityPluginVersion, '3.17')
|
||||||
|
|
||||||
def dvOrGe = { def dvValue, def geValue ->
|
def dvOrGe = { def dvValue, def geValue ->
|
||||||
if (shouldApplyDevelocityPlugin) {
|
if (shouldApplyDevelocityPlugin) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user