Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Fix #69 - Add Axion release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Zajaczkowski committed Nov 7, 2014
1 parent a576185 commit 3bac2fc
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,33 @@ buildscript {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.1.8.RELEASE'
classpath 'com.ofg:uptodate-gradle-plugin:+'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:+'
classpath 'pl.allegro.tech.build:axion-release-plugin:0.9.3'
if (project.hasProperty("coverage")) { classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:+' }
}
}

ext {
microInfraSpringVersion = '0.5.5-SNAPSHOT'
apply plugin: 'axion-release'

scmVersion {
tag {
prefix = ''
versionSeparator = ''
}
}

allprojects {
group = 'com.ofg'
project.version = scmVersion.version
}

ext {
microDepsSpringConfigVersion = '0.4.8'
groovyVersion = '2.3.7'
spockVersion = '0.7-groovy-2.0'
springBootVersion = '1.1.8.RELEASE'
springTestVersion = '4.1.1.RELEASE'
}

allprojects {
group = 'com.ofg'
version = microInfraSpringVersion
}

task addHashFile << {
String gitCmd = "git log --pretty=format:'%H' -n 1"
def proc = gitCmd.execute()
Expand Down

0 comments on commit 3bac2fc

Please sign in to comment.