blob: 8b5fb0798440707c2bb6944d3a2656b8860251b9 [file] [log] [blame]
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.code.gson:gson:2.6.2'
}
jar {
manifest {
attributes('Main-Class': 'openwhisk.java.action.Proxy')
}
}
task oneJar(type: Jar) {
manifest.from jar.manifest
classifier = 'all'
from {
configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
} {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
with jar
}
task wrapper(type: Wrapper) {
gradleVersion = '2.10'
}