Skip to content

Commit

Permalink
Upgraded various Java/Kotlin and Corda package dependencies to avoid …
Browse files Browse the repository at this point in the history
…build errors

Matched the version numbers with those currently in Hyperledger Cacti.

Signed-off-by: VRamakrishna <[email protected]>
  • Loading branch information
VRamakrishna committed Jul 29, 2024
1 parent e54eaab commit 00d54c4
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 33 deletions.
2 changes: 1 addition & 1 deletion common/protos-java-kt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
ext.protobuf_version = "3.11.1"
ext.grpc_version = "1.29.0" // CURRENT_GRPC_VERSION
ext.grpc_kotlin_version = "0.1.4" // CURRENT_GRPC_KOTLIN_VERSION
ext.kotlin_version = "1.3.72"
ext.kotlin_version = "1.4.32"

dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Expand Down
6 changes: 3 additions & 3 deletions core/drivers/corda-driver/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
buildscript {
ext.kotlin_version = "1.3.61"
ext.kotlin_version = "1.4.32"
ext.coroutines_version = "1.3.3"
ext.protobuf_version = "3.11.1"
ext.bcprov_version = "1.53"
ext.grpc_version = "1.28.1" // CURRENT_GRPC_VERSION
ext.grpc_kotlin_version = "0.1.3" // CURRENT_GRPC_KOTLIN_VERSION
ext.corda_release_group = "net.corda"
ext.corda_core_release_group = "net.corda"
ext.corda_version = "4.8"
ext.corda_core_version = "4.8"
ext.corda_version = "4.8.11"
ext.corda_core_version = "4.8.11"
ext.arrow_version = "0.10.4"
ext.weaver_version = "1.6.1"

Expand Down
10 changes: 5 additions & 5 deletions core/network/corda-interop-app/constants.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
cordaReleaseGroup=net.corda
cordaCoreReleaseGroup=net.corda
cordaVersion=4.8
cordaCoreVersion=4.8
gradlePluginsVersion=5.0.12
kotlinVersion=1.3.72
cordaVersion=4.8.11
cordaCoreVersion=4.8.11
gradlePluginsVersion=5.0.17
kotlinVersion=1.4.32
junitVersion=4.12
log4jVersion=2.16.0
log4jVersion=2.17.1
platformVersion=10
slf4jVersion=1.7.25
nettyVersion=4.1.22.Final
Expand Down
1 change: 1 addition & 0 deletions samples/corda/corda-simple-application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ buildscript {
slf4j_version = constants.getProperty("slf4jVersion")
corda_platform_version = constants.getProperty("platformVersion").toInteger()
weaver_version = constants.getProperty("weaverVersion")
clikt_version = constants.getProperty("cliktVersion")
}

repositories {
Expand Down
4 changes: 2 additions & 2 deletions samples/corda/corda-simple-application/clients/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repositories {
jcenter()
mavenCentral()
mavenLocal()
maven { url 'https://software.r3.com/artifactory/corda-lib' }
maven { url 'https://download.corda.net/maven/corda-lib' }
flatDir {
dirs '../../fungible-house-token/source/contracts/build/libs'
dirs '../../fungible-house-token/source/workflows/build/libs'
Expand Down Expand Up @@ -79,7 +79,7 @@ dependencies {
// CorDapp dependencies.
compile project(":contracts-kotlin")
compile project(":workflows-kotlin")
compile "com.github.ajalt:clikt:$clikt_version"
implementation "com.github.ajalt.clikt:clikt:$clikt_version"

implementation(group: 'com.fungiblehousetoken', name: 'contracts', version: "1.0")
implementation(group: 'com.fungiblehousetoken', name: 'workflows', version: "1.0")
Expand Down
11 changes: 6 additions & 5 deletions samples/corda/corda-simple-application/constants.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
cordaReleaseGroup=net.corda
cordaCoreReleaseGroup=net.corda
cordaVersion=4.8
cordaCoreVersion=4.8
gradlePluginsVersion=5.0.12
kotlinVersion=1.3.72
cordaVersion=4.8.11
cordaCoreVersion=4.8.11
gradlePluginsVersion=5.0.17
kotlinVersion=1.4.32
junitVersion=4.12
log4jVersion =2.16.0
log4jVersion=2.17.1
platformVersion=10
slf4jVersion=1.7.25
nettyVersion=4.1.22.Final
weaverVersion=1.6.1
cliktVersion=2.7.1
7 changes: 5 additions & 2 deletions samples/corda/fungible-house-token/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ buildscript {
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url 'https://repo1.maven.org/maven2' }
maven { url 'https://download.corda.net/maven/corda-releases' }
maven { url 'https://download.corda.net/maven/corda-dependencies' }
maven { url 'https://download.corda.net/maven/corda-lib' }
}

dependencies {
Expand All @@ -43,10 +45,11 @@ allprojects {

repositories {
mavenLocal()
maven { url 'https://repo1.maven.org/maven2' }
mavenCentral()
maven { url 'https://jitpack.io' }
//SDK lib
maven { url 'https://download.corda.net/maven/corda-dependencies' }
maven { url 'https://download.corda.net/maven/corda' }
maven { url 'https://download.corda.net/maven/corda-releases' }
maven { url 'https://download.corda.net/maven/corda-lib' }
//Gradle Plugins
Expand Down
10 changes: 5 additions & 5 deletions samples/corda/fungible-house-token/constants.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
cordaReleaseGroup=net.corda
cordaCoreReleaseGroup=net.corda
cordaVersion=4.8
cordaCoreVersion=4.8
gradlePluginsVersion=5.0.12
kotlinVersion=1.2.71
cordaVersion=4.8.11
cordaCoreVersion=4.8.11
gradlePluginsVersion=5.0.17
kotlinVersion=1.4.32
junitVersion=4.12
quasarVersion=0.7.10
log4jVersion =2.16.0
log4jVersion=2.17.1
platformVersion=10
slf4jVersion=1.7.25
nettyVersion=4.1.22.Final
Expand Down
2 changes: 1 addition & 1 deletion samples/corda/fungible-house-token/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build: source
cp extension-flows/*.kt source/workflows/src/main/kotlin/net/corda/samples/tokenizedhouse/flows/
cp extension-states/*.kt source/contracts/src/main/kotlin/net/corda/samples/tokenizedhouse/states/
cp build.gradle source/build.gradle
cd source && ./gradlew clean jar
cd source && ./gradlew wrapper --gradle-version 7.5 --distribution-type all && ./gradlew clean jar

.PHONY: clean
clean:
Expand Down
10 changes: 5 additions & 5 deletions sdks/corda/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
buildscript {
ext.kotlin_version = "1.3.61"
ext.kotlin_version = "1.4.32"
ext.coroutines_version = "1.3.3"
ext.protobuf_version = "3.11.1"
ext.bcprov_version = "1.53"
ext.grpc_version = "1.28.1" // CURRENT_GRPC_VERSION
ext.grpc_kotlin_version = "0.1.3" // CURRENT_GRPC_KOTLIN_VERSION
ext.corda_release_group = "net.corda"
ext.corda_core_release_group = "net.corda"
ext.corda_version = "4.8"
ext.corda_core_version = "4.8"
ext.corda_version = "4.8.11"
ext.corda_core_version = "4.8.11"
ext.arrow_version = "0.10.4"
ext.corda_gradle_plugins_version = "5.0.12"
ext.log4j_version = "2.16.0"
ext.corda_gradle_plugins_version = "5.0.17"
ext.log4j_version = "2.17.1"
ext.slf4j_version = "1.7.25"
ext.weaver_version = "1.6.1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cordaReleaseGroup=net.corda
cordaCoreReleaseGroup=net.corda
cordaVersion=4.8
cordaCoreVersion=4.8
gradlePluginsVersion=5.0.12
kotlinVersion=1.3.72
gradlePluginsVersion=5.0.17
kotlinVersion=1.4.32
junitVersion=4.12
log4jVersion =2.11.2
platformVersion=10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cordaReleaseGroup=net.corda
cordaCoreReleaseGroup=net.corda
cordaVersion=4.8
cordaCoreVersion=4.8
gradlePluginsVersion=5.0.12
kotlinVersion=1.3.72
gradlePluginsVersion=5.0.17
kotlinVersion=1.4.32
junitVersion=4.12
log4jVersion =2.11.2
platformVersion=10
Expand Down

0 comments on commit 00d54c4

Please sign in to comment.