// START SNIPPET use-plugin
apply plugin: 'groovy'

// START SNIPPET gradle-api-dependencies
// START SNIPPET local-groovy-dependencies
dependencies {
// END SNIPPET local-groovy-dependencies
    compile gradleApi()
// END SNIPPET gradle-api-dependencies
// START SNIPPET local-groovy-dependencies
    groovy localGroovy()
// START SNIPPET gradle-api-dependencies
}
// END SNIPPET gradle-api-dependencies
// END SNIPPET local-groovy-dependencies
// END SNIPPET use-plugin

apply plugin: 'maven'

repositories {
    mavenCentral()
}

dependencies {
    testCompile 'junit:junit:4.8.2'
}

group = 'org.gradle'
version = '1.0-SNAPSHOT'

uploadArchives {
    repositories {
        mavenDeployer {
            repository(url: uri('../repo'))
        }
    }
}
