// START SNIPPET use-plugin
apply plugin: 'java'
// END SNIPPET use-plugin
// START SNIPPET use-eclipse-plugin
apply plugin: 'eclipse'
// END SNIPPET use-eclipse-plugin

// START SNIPPET customisation
sourceCompatibility = 1.5
version = '1.0'
jar {
    manifest {
        attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
    }
}
// END SNIPPET customisation

// START SNIPPET repo
repositories {
    mavenCentral()
}
// END SNIPPET repo

// START SNIPPET dependencies
dependencies {
    compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
    testCompile group: 'junit', name: 'junit', version: '4.+'
}
// END SNIPPET dependencies

// START SNIPPET task-customisation
test {
    systemProperties 'property': 'value'
}
// END SNIPPET task-customisation

// START SNIPPET upload
uploadArchives {
    repositories {
       flatDir(dirs: file('repos'))
    }
}
// END SNIPPET upload
