Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- project(':rss-middletier') {
- apply plugin: 'java'
- dependencies {
- compile project(':rss-core')
- compile 'asm:asm-all:3.2'
- compile 'com.sun.jersey:jersey-server:1.9.1'
- compile group: 'org.javalite', name: 'activejdbc', version: '1.4.9'
- }
- jar {
- from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
- exclude "META-INF/*.SF"
- exclude "META-INF/*.DSA"
- exclude "META-INF/*.RSA"
- }
- manifest { attributes 'Main-Class':
- 'com.netflix.recipes.rss.server.MiddleTierServer' }
- }
- }
- task instrument(dependsOn: 'build', type: JavaExec) {
- main = 'org.javalite.instrumentation.Main'
- classpath = buildscript.configurations.classpath
- classpath += project(':rss-middletier').sourceSets.main.runtimeClasspath
- jvmArgs '-DoutputDirectory=' + project(':rss-middletier').sourceSets
- .main.output.classesDir.getPath()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement