mirror of
https://github.com/corda/corda.git
synced 2025-01-18 10:46:38 +00:00
Added a new gradle task to output a JAR with all runtime and compile dependencies in it.
This commit is contained in:
parent
81dcec579e
commit
7befc3ba7a
10
build.gradle
10
build.gradle
@ -119,8 +119,11 @@ repositories {
|
|||||||
dependencies {
|
dependencies {
|
||||||
compile project(':node')
|
compile project(':node')
|
||||||
compile "com.google.guava:guava:$guava_version"
|
compile "com.google.guava:guava:$guava_version"
|
||||||
|
|
||||||
runtime project(path: ":node:capsule", configuration: 'runtimeArtifacts')
|
runtime project(path: ":node:capsule", configuration: 'runtimeArtifacts')
|
||||||
runtime project(path: ":node:webserver:webcapsule", configuration: 'runtimeArtifacts')
|
runtime project(path: ":node:webserver:webcapsule", configuration: 'runtimeArtifacts')
|
||||||
|
runtime project(':client')
|
||||||
|
runtime project(':core')
|
||||||
}
|
}
|
||||||
|
|
||||||
task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
|
task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
|
||||||
@ -217,3 +220,10 @@ task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task apidocs(dependsOn: ['dokka', 'dokkaJavadoc'])
|
task apidocs(dependsOn: ['dokka', 'dokkaJavadoc'])
|
||||||
|
|
||||||
|
task buildDependenciesJar(type: Jar) {
|
||||||
|
baseName 'corda-deps'
|
||||||
|
from configurations.runtime
|
||||||
|
from configurations.compile
|
||||||
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user