mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +00:00
INRFA-415: Publish empty source and JavaDoc for deterministic modules (#6406)
Create empty source and javadoc artifacts for the deterministic modules so that they can be published to Maven Central.
This commit is contained in:
parent
5228817fb4
commit
0ddc430b4d
2
core-deterministic/README.md
Normal file
2
core-deterministic/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
## corda-core-deterministic.
|
||||||
|
This artifact is a deterministic subset of the binary contents of `corda-core`.
|
@ -207,10 +207,18 @@ artifacts {
|
|||||||
publish file: deterministicJar, name: jarBaseName, type: 'jar', extension: 'jar', builtBy: metafix
|
publish file: deterministicJar, name: jarBaseName, type: 'jar', extension: 'jar', builtBy: metafix
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named('sourceJar', Jar) {
|
||||||
|
from 'README.md'
|
||||||
|
include 'README.md'
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.named('javadocJar', Jar) {
|
||||||
|
from 'README.md'
|
||||||
|
include 'README.md'
|
||||||
|
}
|
||||||
|
|
||||||
publish {
|
publish {
|
||||||
dependenciesFrom configurations.deterministicArtifacts
|
dependenciesFrom configurations.deterministicArtifacts
|
||||||
publishSources = false
|
|
||||||
publishJavadoc = false
|
|
||||||
name jarBaseName
|
name jarBaseName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
serialization-deterministic/README.md
Normal file
2
serialization-deterministic/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
## corda-serialization-deterministic.
|
||||||
|
This artifact is a deterministic subset of the binary contents of `corda-serialization`.
|
@ -193,12 +193,20 @@ artifacts {
|
|||||||
publish file: deterministicJar, name: jarBaseName, type: 'jar', extension: 'jar', builtBy: metafix
|
publish file: deterministicJar, name: jarBaseName, type: 'jar', extension: 'jar', builtBy: metafix
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named('sourceJar', Jar) {
|
||||||
|
from 'README.md'
|
||||||
|
include 'README.md'
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.named('javadocJar', Jar) {
|
||||||
|
from 'README.md'
|
||||||
|
include 'README.md'
|
||||||
|
}
|
||||||
|
|
||||||
publish {
|
publish {
|
||||||
dependenciesFrom(configurations.deterministicArtifacts) {
|
dependenciesFrom(configurations.deterministicArtifacts) {
|
||||||
defaultScope = 'compile'
|
defaultScope = 'compile'
|
||||||
}
|
}
|
||||||
publishSources = false
|
|
||||||
publishJavadoc = false
|
|
||||||
name jarBaseName
|
name jarBaseName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user