Skip to content

Commit

Permalink
Move reckon to settings plugin
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vierbergenlars committed Aug 6, 2024
1 parent 8f7c68a commit 1354bf9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 0 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -114,11 +113,6 @@ gradlePlugin {

}

reckon {
scopeFromProp()
snapshotFromProp()
}

repositories {
mavenCentral()
gradlePluginPortal()
Expand Down
11 changes: 11 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -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()
}

0 comments on commit 1354bf9

Please sign in to comment.