Skip to content

Commit

Permalink
Add release management to gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentg committed May 12, 2014
1 parent 82141a3 commit 426829e
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
buildscript {
repositories {
mavenCentral()
maven {
url 'http://maven.tmatesoft.com/content/repositories/releases/'
}
}
dependencies {
classpath 'au.com.ish.gradle:release:2.2.2'
}
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin:'application'
apply plugin: 'application'
apply plugin: 'release'

release {
failOnSnapshotDependencies = true
allowLocalModifications = false
releaseDryRun = false
scm = 'git'
}
version = release.projectVersion

sourceCompatibility = 1.7
version = "0.1"
mainClassName = "org.truffautronic.Main"
repositories {
mavenCentral()
Expand Down

0 comments on commit 426829e

Please sign in to comment.