mirror of
https://github.com/corda/corda.git
synced 2025-01-24 13:28:07 +00:00
Corda publications and JARs now have cord or corda at the start. (#749)
Core corda publications and JARs now have cord or corda at the start (excluding gradle plugins). Removed an unnecessary dependency on test-utils in node-schemas to prevent an evaluation order bug in gradle.
This commit is contained in:
parent
f4321affad
commit
08cbcac40c
@ -254,7 +254,7 @@ bintrayConfig {
|
||||
projectUrl = 'https://github.com/corda/corda'
|
||||
gpgSign = true
|
||||
gpgPassphrase = System.getenv('CORDA_BINTRAY_GPG_PASSPHRASE')
|
||||
publications = ['jfx', 'mock', 'rpc', 'core', 'corda', 'cordform-common', 'corda-webserver', 'finance', 'node', 'node-api', 'node-schemas', 'test-utils', 'jackson', 'verifier', 'webserver']
|
||||
publications = ['corda-jfx', 'corda-mock', 'corda-rpc', 'corda-core', 'corda', 'cordform-common', 'corda-finance', 'corda-node', 'corda-node-api', 'corda-node-schemas', 'corda-test-utils', 'corda-jackson', 'corda-verifier', 'corda-webserver-impl', 'corda-webserver']
|
||||
license {
|
||||
name = 'Apache-2.0'
|
||||
url = 'https://www.apache.org/licenses/LICENSE-2.0'
|
||||
|
@ -23,3 +23,11 @@ dependencies {
|
||||
testCompile "com.pholser:junit-quickcheck-core:$quickcheck_version"
|
||||
testCompile "com.pholser:junit-quickcheck-generators:$quickcheck_version"
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-jackson'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
@ -55,3 +55,11 @@ task integrationTest(type: Test) {
|
||||
testClassesDir = sourceSets.integrationTest.output.classesDir
|
||||
classpath = sourceSets.integrationTest.runtimeClasspath
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-jfx'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
@ -23,3 +23,11 @@ dependencies {
|
||||
|
||||
testCompile project(':test-utils')
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-mock'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
@ -78,3 +78,11 @@ task smokeTest(type: Test) {
|
||||
classpath = sourceSets.smokeTest.runtimeClasspath
|
||||
systemProperties['build.dir'] = buildDir
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-rpc'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
gradlePluginsVersion=0.12.3
|
||||
gradlePluginsVersion=0.12.4
|
||||
kotlinVersion=1.1.2
|
||||
guavaVersion=21.0
|
||||
bouncycastleVersion=1.56
|
||||
|
@ -91,3 +91,11 @@ task testJar(type: Jar) {
|
||||
artifacts {
|
||||
testArtifacts testJar
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-core'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
||||
|
@ -29,3 +29,11 @@ configurations.testCompile {
|
||||
// TODO: Remove this exclusion once junit-quickcheck 0.8 is released.
|
||||
exclude group: 'javassist', module: 'javassist'
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-finance'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
@ -60,11 +60,6 @@ class PublishTasks implements Plugin<Project> {
|
||||
void configureMavenPublish(BintrayConfigExtension bintrayConfig) {
|
||||
project.apply([plugin: 'maven-publish'])
|
||||
project.publishing.publications.create(publishName, MavenPublication) {
|
||||
if(!publishConfig.disableDefaultJar && !publishConfig.publishWar) {
|
||||
from project.components.java
|
||||
} else if(publishConfig.publishWar) {
|
||||
from project.components.web
|
||||
}
|
||||
groupId project.group
|
||||
artifactId publishName
|
||||
|
||||
@ -76,6 +71,12 @@ class PublishTasks implements Plugin<Project> {
|
||||
delegate.artifact it
|
||||
}
|
||||
|
||||
if (!publishConfig.disableDefaultJar && !publishConfig.publishWar) {
|
||||
from project.components.java
|
||||
} else if (publishConfig.publishWar) {
|
||||
from project.components.web
|
||||
}
|
||||
|
||||
extendPomForMavenCentral(pom, bintrayConfig)
|
||||
}
|
||||
project.task("install", dependsOn: "publishToMavenLocal")
|
||||
|
@ -3,4 +3,5 @@ include 'publish-utils'
|
||||
include 'quasar-utils'
|
||||
include 'cordformation'
|
||||
include 'cordform-common'
|
||||
project(':cordform-common').projectDir = new File("$settingsDir/../cordform-common")
|
||||
// TODO: Look into `includeFlat`
|
||||
project(':cordform-common').projectDir = new File("$settingsDir/../cordform-common")
|
@ -31,3 +31,11 @@ dependencies {
|
||||
testCompile "org.assertj:assertj-core:${assertj_version}"
|
||||
testCompile project(':test-utils')
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-node-api'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
||||
|
@ -9,7 +9,6 @@ dependencies {
|
||||
compile project(':core')
|
||||
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
||||
testCompile "junit:junit:$junit_version"
|
||||
testCompile project(':test-utils')
|
||||
|
||||
// Requery: SQL based query & persistence for Kotlin
|
||||
kapt "io.requery:requery-processor:$requery_version"
|
||||
@ -24,4 +23,12 @@ sourceSets {
|
||||
srcDir "$buildDir/generated/source/kapt/main"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-node-schemas'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
@ -174,3 +174,11 @@ task integrationTest(type: Test) {
|
||||
testClassesDir = sourceSets.integrationTest.output.classesDir
|
||||
classpath = sourceSets.integrationTest.runtimeClasspath
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-node'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
@ -34,3 +34,11 @@ dependencies {
|
||||
// OkHTTP: Simple HTTP library.
|
||||
compile "com.squareup.okhttp3:okhttp:$okhttp_version"
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-test-utils'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
||||
|
@ -67,4 +67,13 @@ task integrationTest(type: Test) {
|
||||
classpath = sourceSets.integrationTest.runtimeClasspath
|
||||
}
|
||||
|
||||
build.dependsOn standaloneJar
|
||||
artifacts {
|
||||
publish standaloneJar {
|
||||
classifier ""
|
||||
}
|
||||
}
|
||||
|
||||
publish {
|
||||
name = 'corda-verifier'
|
||||
disableDefaultJar = true
|
||||
}
|
||||
|
@ -65,3 +65,11 @@ task integrationTest(type: Test) {
|
||||
testClassesDir = sourceSets.integrationTest.output.classesDir
|
||||
classpath = sourceSets.integrationTest.runtimeClasspath
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName 'corda-webserver-impl'
|
||||
}
|
||||
|
||||
publish {
|
||||
name = jar.baseName
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user