From 68dd39c83d2df20bfe5e2a18b97f8cc4fc73c920 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Fri, 1 Mar 2024 17:10:34 +0100 Subject: [PATCH] Create release plugin Fixes #28 --- release/src/main/kotlin/com/bakdata/gradle/ReleasePlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/src/main/kotlin/com/bakdata/gradle/ReleasePlugin.kt b/release/src/main/kotlin/com/bakdata/gradle/ReleasePlugin.kt index 7158d12..89ee023 100644 --- a/release/src/main/kotlin/com/bakdata/gradle/ReleasePlugin.kt +++ b/release/src/main/kotlin/com/bakdata/gradle/ReleasePlugin.kt @@ -41,7 +41,7 @@ class ReleasePlugin : Plugin { with(rootProject) { apply(plugin = "net.researchgate.release") - val disablePushToRemote: String? = project.property("disablePushToRemote") as? String + val disablePushToRemote: String? = project.findProperty("disablePushToRemote") as? String disablePushToRemote?.takeIf { it.toBoolean() }.apply { configure { git {