mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
CORDA-2876: Add explicit Kotlin dependencies to DJVM serialization modules. (#5678)
* CORDA-2876: Add explicit Kotlin dependencies to DJVM serialization modules. * Publish slf4j-api at compile scope for corda-core-deterministic. * Bump Corda platform version to 6.
This commit is contained in:
parent
a88ee7d138
commit
7708a3c28a
@ -10,7 +10,7 @@ java8MinUpdateVersion=171
|
|||||||
# When incrementing platformVersion make sure to update #
|
# When incrementing platformVersion make sure to update #
|
||||||
# net.corda.core.internal.CordaUtilsKt.PLATFORM_VERSION as well. #
|
# net.corda.core.internal.CordaUtilsKt.PLATFORM_VERSION as well. #
|
||||||
# ***************************************************************#
|
# ***************************************************************#
|
||||||
platformVersion=5
|
platformVersion=6
|
||||||
guavaVersion=28.0-jre
|
guavaVersion=28.0-jre
|
||||||
# Quasar version to use with Java 8:
|
# Quasar version to use with Java 8:
|
||||||
quasarVersion=0.7.12_r3
|
quasarVersion=0.7.12_r3
|
||||||
|
@ -30,13 +30,13 @@ dependencies {
|
|||||||
api "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
api "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
||||||
api "javax.persistence:javax.persistence-api:2.2"
|
api "javax.persistence:javax.persistence-api:2.2"
|
||||||
api "com.google.code.findbugs:jsr305:$jsr305_version"
|
api "com.google.code.findbugs:jsr305:$jsr305_version"
|
||||||
|
api "org.slf4j:slf4j-api:$slf4j_version"
|
||||||
|
|
||||||
// These dependencies will become "runtime" scoped in our published POM.
|
// These dependencies will become "runtime" scoped in our published POM.
|
||||||
// See publish.dependenciesFrom.defaultScope.
|
// See publish.dependenciesFrom.defaultScope.
|
||||||
deterministicLibraries "org.bouncycastle:bcprov-jdk15on:$bouncycastle_version"
|
deterministicLibraries "org.bouncycastle:bcprov-jdk15on:$bouncycastle_version"
|
||||||
deterministicLibraries "org.bouncycastle:bcpkix-jdk15on:$bouncycastle_version"
|
deterministicLibraries "org.bouncycastle:bcpkix-jdk15on:$bouncycastle_version"
|
||||||
deterministicLibraries "net.i2p.crypto:eddsa:$eddsa_version"
|
deterministicLibraries "net.i2p.crypto:eddsa:$eddsa_version"
|
||||||
deterministicLibraries "org.slf4j:slf4j-api:$slf4j_version"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
@ -25,7 +25,7 @@ import java.util.jar.JarInputStream
|
|||||||
|
|
||||||
// *Internal* Corda-specific utilities.
|
// *Internal* Corda-specific utilities.
|
||||||
|
|
||||||
const val PLATFORM_VERSION = 5
|
const val PLATFORM_VERSION = 6
|
||||||
|
|
||||||
fun ServicesForResolution.ensureMinimumPlatformVersion(requiredMinPlatformVersion: Int, feature: String) {
|
fun ServicesForResolution.ensureMinimumPlatformVersion(requiredMinPlatformVersion: Int, feature: String) {
|
||||||
checkMinimumPlatformVersion(networkParameters.minimumPlatformVersion, requiredMinPlatformVersion, feature)
|
checkMinimumPlatformVersion(networkParameters.minimumPlatformVersion, requiredMinPlatformVersion, feature)
|
||||||
|
@ -20,6 +20,8 @@ dependencies {
|
|||||||
api project(':core')
|
api project(':core')
|
||||||
api project(':serialization')
|
api project(':serialization')
|
||||||
api "net.corda.djvm:corda-djvm:$djvm_version"
|
api "net.corda.djvm:corda-djvm:$djvm_version"
|
||||||
|
api 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
|
||||||
|
implementation 'org.jetbrains.kotlin:kotlin-reflect'
|
||||||
implementation(project(':serialization-djvm:deserializers')) {
|
implementation(project(':serialization-djvm:deserializers')) {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@ description 'Deserializers for the DJVM'
|
|||||||
dependencies {
|
dependencies {
|
||||||
api project(path: ':core-deterministic', configuration: 'deterministicArtifacts')
|
api project(path: ':core-deterministic', configuration: 'deterministicArtifacts')
|
||||||
api project(path: ':serialization-deterministic', configuration: 'deterministicArtifacts')
|
api project(path: ':serialization-deterministic', configuration: 'deterministicArtifacts')
|
||||||
|
api 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
Loading…
Reference in New Issue
Block a user