From dc5aca9a1597a295e35eada8559197888b89e51b Mon Sep 17 00:00:00 2001 From: Alex-Vol Date: Mon, 16 Sep 2024 15:03:33 +0300 Subject: [PATCH] Use reckon settings plugin for new release (#160) * Update settings.gradle Add reckon settings plugin * Update build.gradle Remove reckon project plugin * Update release.gradle Cleanup reckon --- build.gradle | 1 - gradle/release.gradle | 6 ------ settings.gradle | 7 +++++++ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index c748bdb..e60de61 100755 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,6 @@ plugins { id 'maven-publish' id 'idea' id 'eclipse' - id 'org.ajoberstar.reckon' version '0.18.3' id 'org.ajoberstar.git-publish' version '4.2.2' } diff --git a/gradle/release.gradle b/gradle/release.gradle index 13d4d59..d372747 100644 --- a/gradle/release.gradle +++ b/gradle/release.gradle @@ -1,7 +1 @@ - -reckon { - scopeFromProp() - stageFromProp('milestone', 'rc', 'final') -} - reckonTagCreate.dependsOn check diff --git a/settings.gradle b/settings.gradle index 2e7facf..08bdefb 100644 --- a/settings.gradle +++ b/settings.gradle @@ -8,6 +8,7 @@ pluginManagement { plugins { id "com.gradle.develocity" version "3.18" + id('org.ajoberstar.reckon.settings') version '0.18.3' } develocity { @@ -26,5 +27,11 @@ develocity { } } +reckon { + defaultInferredScope = 'patch' + stages 'rc', 'final' + scopeCalc = calcScopeFromProp().or(calcScopeFromCommitMessages()) + stageCalc = calcStageFromProp() +} rootProject.name = 'gradle-clover-plugin'