Skip to content

Instantly share code, notes, and snippets.

@laynes
Created January 20, 2015 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laynes/0705697d802487bbec69 to your computer and use it in GitHub Desktop.
Save laynes/0705697d802487bbec69 to your computer and use it in GitHub Desktop.
build.gradle with mavenLocal() failing dependency resolution
// Build by default.
defaultTasks 'build'
// Build configuration for all projects in this module.
allprojects {
apply plugin: 'java'
repositories {
maven { url ggnRepositoryURL }
mavenLocal()
}
dependencies {
testCompile 'junit:junit:4.10'
}
}
// Disable artifact generation for the container project because it has no code.
project(':common') {
jar { enabled = false }
}
//
// Build configuration for the individual projects.
//
project(':common:charityusa-services') {
dependencies {
// Projects needed to compile this project.
compile project(':common:charityusa-net')
compile project(':common:charityusa-persistence')
compile project(':common:charityusa-util')
// Libraries needed to compile this project.
compile 'org.apache.tomcat:tomcat-servlet-api:7.0.57'
compile 'com.greatergood.nexus:nexus-inventory-client:1.0'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment