Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. ext.libraries = [ // Groovy map literal
  2. spring_core: "org.springframework:spring-core:3.1",
  3. junit: "junit:junit:4.10"
  4. ]
  5.  
  6. dependencies {
  7. compile libraries.spring_core
  8. testCompile libraries.junit
  9. }
  10.  
  11. libraries = [
  12. spring_core: dependencies.create("org.springframework:spring-core:3.1") {
  13. exclude module: "commons-logging"
  14. force = true
  15. }
  16. ]
  17.  
  18. libraries = [
  19. spring: [ // Groovy list literal
  20. "org.springframework:spring-core:3.1",
  21. "org.springframework:spring-jdbc:3.1"
  22. ]
  23. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement