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 {