apply plugin: 'java'

repositories {
    mavenCentral()
}

dependencies {
    testCompile group: 'junit', name: 'junit', version: '4.7'
}

test {
    systemProperties['property'] = 'value'
    onlyIf { task ->
        compileJava.didWork
    }
}
