# HG changeset patch # User Mario Torre # Date 1357079325 -3600 # Node ID c1d20b4096aa4cc56a0ea35fc8ef5c70ebc8e7a5 # Parent 8faa914b76a4741e1c594f6b5b80fa7870d06884 Initial gradle build. diff -r 8faa914b76a4 -r c1d20b4096aa .hgignore --- a/.hgignore Tue Dec 11 20:01:55 2012 +0100 +++ b/.hgignore Tue Jan 01 23:28:45 2013 +0100 @@ -13,3 +13,5 @@ *~ nbactions*.xml nb-configuration.xml +.gradle +build/* diff -r 8faa914b76a4 -r c1d20b4096aa build.gradle --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.gradle Tue Jan 01 23:28:45 2013 +0100 @@ -0,0 +1,18 @@ +apply plugin: 'java' +apply plugin: 'eclipse' + +sourceCompatibility = 1.7 +targetCompatibility = 1.7 + +compileJava.doFirst { + options.define(compilerArgs: [ + '-XDignore.symbol.file', + '-encoding', 'utf-8', + '-source', sourceCompatibility, + '-target', targetCompatibility, + '-nowarn' + ]) + options.fork = true + options.forkOptions.executable = 'javac' +} + diff -r 8faa914b76a4 -r c1d20b4096aa pom.xml --- a/pom.xml Tue Dec 11 20:01:55 2012 +0100 +++ b/pom.xml Tue Jan 01 23:28:45 2013 +0100 @@ -8,9 +8,8 @@ dolphin 0.5.1-SNAPSHOT bundle - + - /usr/share/java UTF-8