corda/serialization-1.2/build.gradle
Shams Asari fbb8a774f3 ENT-11056: Turn off javadoc for serialisation-1.2 module
It doesn't have any Java source code.
2024-01-03 12:41:04 +00:00

40 lines
1.0 KiB
Groovy

apply plugin: "corda.kotlin-1.2"
apply plugin: "corda.common-publishing"
description 'Corda serialization built with Kotlin 1.2'
sourceSets {
main {
java.srcDir("../serialization/src/main/java")
kotlin.srcDir("../serialization/src/main/kotlin")
}
}
dependencies {
implementation project(":core-1.2")
// Use the same dependencies as serialization (minus Kotlin and core)
implementation(project(path: ":serialization", configuration: "resolvableImplementation")) {
exclude(module: "core")
exclude(group: "org.jetbrains.kotlin")
}
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_1_2_version"
}
jar {
archiveBaseName = 'corda-serialization-1.2'
}
tasks.withType(Javadoc).configureEach {
enabled = false
}
// TODO Don't publish publicly as it's only needed by the `verifier` module which consumes this into a fat jar.
publishing {
publications {
maven(MavenPublication) {
artifactId 'corda-serialization-1.2'
from components.java
}
}
}