From 1a6326120d5dbcd55267fdf3b3b782d48e67d4cc Mon Sep 17 00:00:00 2001 From: Ruslan Ibragimov Date: Mon, 8 Jul 2024 11:16:10 +0300 Subject: [PATCH] Add Gradle version check to prevent usage of deprecated settingsFile property --- src/main/groovy/net/researchgate/release/ReleasePlugin.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/groovy/net/researchgate/release/ReleasePlugin.groovy b/src/main/groovy/net/researchgate/release/ReleasePlugin.groovy index 507deaf5..20c45b9b 100644 --- a/src/main/groovy/net/researchgate/release/ReleasePlugin.groovy +++ b/src/main/groovy/net/researchgate/release/ReleasePlugin.groovy @@ -31,6 +31,7 @@ import org.gradle.api.Task import org.gradle.api.plugins.BasePlugin import org.gradle.api.tasks.GradleBuild import org.gradle.api.tasks.TaskState +import org.gradle.util.GradleVersion class ReleasePlugin extends PluginHelper implements Plugin {