Skip to content

Commit 1354bf9

Browse files
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
1 parent 8f7c68a commit 1354bf9

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ plugins {
44
id "idea"
55
id "jacoco"
66
id "com.gradle.plugin-publish" version "1.2.1"
7-
id 'org.ajoberstar.reckon' version "0.18.3"
87
id 'com.github.johnrengelman.shadow' version '7.1.2' apply false
98
id "org.sonarqube" version "5.1.0.4882"
109
id "be.vbgn.ci-detect" version "0.5.0"
@@ -114,11 +113,6 @@ gradlePlugin {
114113

115114
}
116115

117-
reckon {
118-
scopeFromProp()
119-
snapshotFromProp()
120-
}
121-
122116
repositories {
123117
mavenCentral()
124118
gradlePluginPortal()

settings.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
plugins {
2+
id 'org.ajoberstar.reckon.settings' version "0.18.3"
3+
}
4+
15
rootProject.name = 'alfresco-docker-plugin'
6+
7+
reckon {
8+
defaultInferredScope = 'patch'
9+
snapshots()
10+
scopeCalc = calcScopeFromProp()
11+
stageCalc = calcStageFromProp()
12+
}

0 commit comments

Comments
 (0)