Skip to content

Commit

Permalink
Add nemerosa plugin for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamz-22 committed Dec 17, 2017
1 parent 036a9f6 commit c521403
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
14 changes: 8 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,35 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}

plugins {
id 'net.nemerosa.versioning' version '2.0.0'
}

apply plugin: 'java'
apply plugin: 'org.springframework.boot'


setGroup("io.github.shyamz-22")

jar {
baseName = 'conditional'
version = VERSION_NAME
}



sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
mavenCentral()
}


dependencies {
compile('org.springframework.boot:spring-boot-starter')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile('org.springframework.boot:spring-boot-starter-test')
}

task wrapper(type: Wrapper) {
Expand All @@ -57,4 +59,4 @@ artifacts {
archives javadocJar, sourcesJar
}

apply from: 'publishToMaven.gradle'
apply from: 'publishToMaven.gradle'
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = 'conditional'

0 comments on commit c521403

Please sign in to comment.