mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
6f27898664
* Fix to enable gradle build caching of test runs. * Configure gradle build caching to be enabled. * Generate dependency report and graph: 1) ./gradlew htmlDependencyReport 2) ./gradlew generateDependencyGraphCorda * Strip out all Jacoco references to prevent Gradle Build Cache error: "Caching disabled for task ':<module>:test': 'JaCoCo agent configured with `append = true`' satisfied" * Revert jacoco back into jarFilter gradle build file. Disable building deterministic modules (including jarFilter). * Added Gradle build scan plugin. * Set file encoding to prevent incorrect Gradle build cache keys across different machines. https://guides.gradle.org/using-build-cache/#system_file_encoding * Apply gradle build cache settings to buildSrc. * Added targetted gradle build tasks to leverage cache. * Updated URL's of several different test Gradle Cache instances. * Updated CI batch build scripts. * Updated script perms to be executable. * Added CI smoke tests batch script. * Use TestDev Labs gradle cache. * Echo URL of Gradle Build Repository. Echo exit status of each Gradle build command. * Use environment variables to define Gradle Build Cache usage and URL. * Customisation through parameters. * Remove dependency graph generation plugin. Align build cache settings across project and buildSrc gradle files. * Remove buildSrc gradle build cache config. * Revert definition of gradle build cache variables back to settings.gradle. * Fix incorrect path. * Aligned gradle build cache configuration across buildSrc and project. * Minor updates to test scope. * Minor updates to test scope. * Update scripts to use GRADLE_HOME * Exit on unset GRADLE_HOME * Remove duplication following rebase from master. * Remove fine-grained build task scripts. * Added back Jacoco reporting. * Revert jdk8u-deterministic module. * Incorporating changes from PR review feedback. * Workaround Jacoco issue associated with Gradle Build Cache test task. * Update init script. * Remove redundant build-scan declarations. * Updates from PR review feedback. * Remove GRADLE_HOME as no longer needed - everything is driven via gradle wrapper. * Use CORDA prefix in system environment variable.
72 lines
2.3 KiB
Groovy
72 lines
2.3 KiB
Groovy
// The project is named 'corda-project' and not 'corda' because if this is named the same as the
|
|
// output JAR from the capsule then the buildCordaJAR task goes into an infinite loop.
|
|
rootProject.name = 'corda-project'
|
|
include 'confidential-identities'
|
|
include 'finance'
|
|
include 'finance:isolated'
|
|
include 'core'
|
|
include 'docs'
|
|
include 'node-api'
|
|
include 'node'
|
|
include 'node:capsule'
|
|
include 'client:jackson'
|
|
include 'client:jfx'
|
|
include 'client:mock'
|
|
include 'client:rpc'
|
|
include 'djvm'
|
|
include 'djvm:cli'
|
|
include 'webserver'
|
|
include 'webserver:webcapsule'
|
|
include 'experimental'
|
|
include 'experimental:avalanche'
|
|
include 'experimental:behave'
|
|
include 'experimental:quasar-hook'
|
|
include 'experimental:kryo-hook'
|
|
include 'experimental:corda-utils'
|
|
include 'jdk8u-deterministic'
|
|
include 'test-common'
|
|
include 'test-cli'
|
|
include 'test-utils'
|
|
include 'smoke-test-utils'
|
|
include 'node-driver'
|
|
// Avoid making 'testing' a project, and allow build.gradle files to refer to these by their simple names:
|
|
['test-common', 'test-utils', 'test-cli', 'smoke-test-utils', 'node-driver'].each {
|
|
project(":$it").projectDir = new File("$settingsDir/testing/$it")
|
|
}
|
|
include 'tools:explorer'
|
|
include 'tools:explorer:capsule'
|
|
include 'tools:demobench'
|
|
include 'tools:loadtest'
|
|
include 'tools:graphs'
|
|
include 'tools:bootstrapper'
|
|
include 'tools:blobinspector'
|
|
include 'tools:shell'
|
|
include 'tools:shell-cli'
|
|
include 'tools:network-bootstrapper'
|
|
include 'tools:cliutils'
|
|
include 'example-code'
|
|
project(':example-code').projectDir = file("$settingsDir/docs/source/example-code")
|
|
include 'samples:attachment-demo'
|
|
include 'samples:trader-demo'
|
|
include 'samples:irs-demo'
|
|
include 'samples:irs-demo:cordapp'
|
|
include 'samples:irs-demo:web'
|
|
include 'samples:simm-valuation-demo'
|
|
include 'samples:simm-valuation-demo:flows'
|
|
include 'samples:simm-valuation-demo:contracts-states'
|
|
include 'samples:notary-demo'
|
|
include 'samples:bank-of-corda-demo'
|
|
include 'samples:cordapp-configuration'
|
|
include 'samples:network-verifier'
|
|
include 'serialization'
|
|
|
|
apply from: 'buildCacheSettings.gradle'
|
|
|
|
if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
|
|
include 'core-deterministic'
|
|
include 'core-deterministic:testing'
|
|
include 'core-deterministic:testing:data'
|
|
include 'core-deterministic:testing:verifier'
|
|
include 'serialization-deterministic'
|
|
}
|