File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ plugins {
1717 // Gradle dependency update checker; run by "dependencyUpdates" task
1818 id " com.github.ben-manes.versions" version " 0.20.0"
1919
20+ // Release version with "gradle release"
21+ id ' net.researchgate.release' version ' 2.6.0'
22+
2023 // Create start scripts
2124 // Is executed on "build" task but not on e.g. "jar" task
2225 id ' application'
@@ -27,13 +30,11 @@ plugins {
2730}
2831
2932group ' de.debuglevel.greeting'
30- version ' 0.0.2-SNAPSHOT'
3133
3234// application plugin configuration
3335applicationName = " Greeting Microservice"
3436mainClassName = " de.debuglevel.greeting.rest.MainKt"
3537
36-
3738repositories {
3839 jcenter()
3940 maven {
@@ -110,6 +111,12 @@ buildScan {
110111 publishAlways()
111112}
112113
114+ // Configuration of net.researchgate.release plugin
115+ release {
116+ failOnCommitNeeded = false
117+ failOnUnversionedFiles = false
118+ }
119+
113120test {
114121 useJUnitPlatform()
115122
Original file line number Diff line number Diff line change 1+ # Application version
2+ version =0.0.2-SNAPSHOT
3+ # other settings
14kotlin.code.style =official
You can’t perform that action at this time.
0 commit comments