mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Added documentation to the cordapp dependency builder and expanded the included dependencies.
This commit is contained in:
parent
c2b401682b
commit
c972753bb9
12
build.gradle
12
build.gradle
@ -122,8 +122,13 @@ dependencies {
|
||||
|
||||
runtime project(path: ":node:capsule", configuration: 'runtimeArtifacts')
|
||||
runtime project(path: ":node:webserver:webcapsule", configuration: 'runtimeArtifacts')
|
||||
|
||||
// For the buildCordappDependenciesJar task
|
||||
runtime project(':client')
|
||||
runtime project(':core')
|
||||
runtime project(':finance')
|
||||
runtime project(':node:webserver')
|
||||
testCompile project(':test-utils')
|
||||
}
|
||||
|
||||
task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
|
||||
@ -221,10 +226,15 @@ task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
|
||||
|
||||
task apidocs(dependsOn: ['dokka', 'dokkaJavadoc'])
|
||||
|
||||
task buildDependenciesZip(type: Zip) {
|
||||
// Build a ZIP of all JARs required to compile the Cordapp template
|
||||
// Note: corda.jar is used at runtime so no runtime ZIP is necessary.
|
||||
// Resulting ZIP can be found in "build/distributions"
|
||||
task buildCordappDependenciesZip(type: Zip) {
|
||||
baseName 'corda-deps'
|
||||
from configurations.runtime
|
||||
from configurations.compile
|
||||
from configurations.testCompile
|
||||
from buildscript.configurations.classpath
|
||||
from 'node/capsule/NOTICE' // CDDL notice
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user