ENT-11802: Resolved messages regarding execution optimisations have been disabled.

This commit is contained in:
Adel El-Beik 2024-04-23 11:51:08 +01:00
parent 275ba7549a
commit ba71b8606b
6 changed files with 17 additions and 0 deletions

View File

@ -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'

View File

@ -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
}

View File

@ -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.

View File

@ -83,6 +83,9 @@ jar {
baseName 'corda-testserver-impl'
}
compileJava.dependsOn ':node:capsule:buildCordaJAR'
javadoc.dependsOn ':testing:testserver:testcapsule:buildWebserverJar'
publishing {
publications {
maven(MavenPublication) {

View File

@ -49,6 +49,8 @@ jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
jar.dependsOn ':testing:testserver:testcapsule:buildWebserverJar'
publishing {
publications {
maven(MavenPublication) {

View File

@ -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'