Skip to content

Commit

Permalink
Merge pull request #7721 from corda/adel/ENT-11802
Browse files Browse the repository at this point in the history
ENT-11802: Resolved messages regarding execution optimisations have been disabled.
  • Loading branch information
adelel1 committed May 3, 2024
2 parents feb522a + ba71b86 commit 691f84d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/logging/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ task generateSource(type: Copy) {
into 'src/main'
}
compileKotlin.dependsOn generateSource
processResources.dependsOn generateSource
sourcesJar.dependsOn generateSource

jar {
baseName 'corda-common-logging'
Expand Down
5 changes: 5 additions & 0 deletions node/capsule/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ tasks.whenTaskAdded { task ->
}
}

javadoc.dependsOn ':testing:testserver:testcapsule:buildWebserverJar'
javadoc.dependsOn buildCordaJAR
compileTestJava.dependsOn ':testing:testserver:testcapsule:buildWebserverJar'
compileTestJava.dependsOn buildCordaJAR

artifacts {
runtimeArtifacts buildCordaJAR
}
Expand Down
1 change: 1 addition & 0 deletions samples/simm-valuation-demo/contracts-states/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ tasks.register('generateDependencies') {
}
}
processResources.finalizedBy generateDependencies
jar.dependsOn generateDependencies

jar {
// Test CorDapp filters out *-tests.jar. We only want the shrinked jar not this one.
Expand Down
3 changes: 3 additions & 0 deletions testing/testserver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ jar {
baseName 'corda-testserver-impl'
}

compileJava.dependsOn ':node:capsule:buildCordaJAR'
javadoc.dependsOn ':testing:testserver:testcapsule:buildWebserverJar'

publishing {
publications {
maven(MavenPublication) {
Expand Down
2 changes: 2 additions & 0 deletions tools/bootstrapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

jar.dependsOn ':testing:testserver:testcapsule:buildWebserverJar'

publishing {
publications {
maven(MavenPublication) {
Expand Down
4 changes: 4 additions & 0 deletions tools/explorer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ dependencies {
implementation "com.github.ben-manes.caffeine:caffeine:$caffeine_version"
}

compileJava.dependsOn ':testing:testserver:testcapsule:buildWebserverJar'
startScripts.dependsOn ':testing:testserver:testcapsule:buildWebserverJar'
startScripts.dependsOn ':node:capsule:buildCordaJAR'

tasks.withType(JavaCompile).configureEach {
// Resolves a Gradle warning about not scanning for pre-processors.
options.compilerArgs << '-proc:none'
Expand Down

0 comments on commit 691f84d

Please sign in to comment.