diff --git a/src/resources/init-scripts/gradle-build-action.inject-gradle-enterprise.init.gradle b/src/resources/init-scripts/gradle-build-action.inject-gradle-enterprise.init.gradle index 6e40341..279ca72 100644 --- a/src/resources/init-scripts/gradle-build-action.inject-gradle-enterprise.init.gradle +++ b/src/resources/init-scripts/gradle-build-action.inject-gradle-enterprise.init.gradle @@ -168,7 +168,7 @@ if (GradleVersion.current() < GradleVersion.version('6.0')) { } } -void applyPluginExternally(PluginManager pluginManager, String pluginClassName) { +void applyPluginExternally(def pluginManager, String pluginClassName) { def externallyApplied = 'gradle.enterprise.externally-applied' def oldValue = System.getProperty(externallyApplied) System.setProperty(externallyApplied, 'true')