Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. project(':rss-middletier') {
  2. apply plugin: 'java'
  3.  
  4. dependencies {
  5. compile project(':rss-core')
  6. compile 'asm:asm-all:3.2'
  7. compile 'com.sun.jersey:jersey-server:1.9.1'
  8. compile group: 'org.javalite', name: 'activejdbc', version: '1.4.9'
  9. }
  10.  
  11. jar {
  12. from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
  13. exclude "META-INF/*.SF"
  14. exclude "META-INF/*.DSA"
  15. exclude "META-INF/*.RSA"
  16. }
  17. manifest { attributes 'Main-Class':
  18. 'com.netflix.recipes.rss.server.MiddleTierServer' }
  19. }
  20. }
  21.  
  22. task instrument(dependsOn: 'build', type: JavaExec) {
  23. main = 'org.javalite.instrumentation.Main'
  24. classpath = buildscript.configurations.classpath
  25. classpath += project(':rss-middletier').sourceSets.main.runtimeClasspath
  26. jvmArgs '-DoutputDirectory=' + project(':rss-middletier').sourceSets
  27. .main.output.classesDir.getPath()
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement