view build.gradle @ 1:c1d20b4096aa

Initial gradle build.
author Mario Torre <neugens.limasoftware@gmail.com>
date Tue, 01 Jan 2013 23:28:45 +0100
parents
children 94d56c93fd16
line wrap: on
line source

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'
}