diff --git a/build.gradle b/build.gradle index 97c6164..16f04c2 100644 --- a/build.gradle +++ b/build.gradle @@ -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()