apply plugin: 'java'

repositories {
    mavenCentral()
}

dependencies {
    testCompile 'junit:junit:4.12'
}

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