Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (22 sloc) 0.606 kb
/** Add following snippet to your build script to enable nexus plugin */
/*
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.2'
}
}
*/
apply plugin: 'maven'
apply plugin: 'nexus'
tasks.withType(Upload) { // map the groovy configuration to compile in the pom
repositories.withType(MavenResolver) {
pom.scopeMappings.addMapping(1, configurations.groovy, 'compile')
}
}
boolean signingEnabled = !hasProperty('skipSigning') || skipSigning != 'true'
nexus {
sign = signingEnabled
}
Jump to Line
Something went wrong with that request. Please try again.