From 1354bf9effffbed2ff16e960756d23819e76dabf Mon Sep 17 00:00:00 2001 From: Lars Vierbergen Date: Tue, 6 Aug 2024 16:08:24 +0200 Subject: [PATCH] Move reckon to settings plugin There is something that consumes the version before reckon gets a chance to set it when using reckon in build.gradle To fix that; move to the reckon settings plugin --- build.gradle | 6 ------ settings.gradle | 11 +++++++++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index e0190635..68bb52c5 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,6 @@ plugins { id "idea" id "jacoco" id "com.gradle.plugin-publish" version "1.2.1" - id 'org.ajoberstar.reckon' version "0.18.3" id 'com.github.johnrengelman.shadow' version '7.1.2' apply false id "org.sonarqube" version "5.1.0.4882" id "be.vbgn.ci-detect" version "0.5.0" @@ -114,11 +113,6 @@ gradlePlugin { } -reckon { - scopeFromProp() - snapshotFromProp() -} - repositories { mavenCentral() gradlePluginPortal() diff --git a/settings.gradle b/settings.gradle index 4603bbc9..182a5e04 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,12 @@ +plugins { + id 'org.ajoberstar.reckon.settings' version "0.18.3" +} + rootProject.name = 'alfresco-docker-plugin' + +reckon { + defaultInferredScope = 'patch' + snapshots() + scopeCalc = calcScopeFromProp() + stageCalc = calcStageFromProp() +}