From e74bec2246f7176aae74ee55ee2f1b385e27ccb0 Mon Sep 17 00:00:00 2001 From: Sandeep Nishad Date: Fri, 17 May 2024 12:21:44 +0530 Subject: [PATCH] fix: update broken corda repository links Signed-off-by: Sandeep Nishad --- common/protos-java-kt/build.gradle | 2 +- core/drivers/corda-driver/build.gradle | 6 ++++-- core/network/corda-interop-app/build.gradle | 6 ++++-- core/network/corda-interop-app/repositories.gradle | 4 +++- samples/corda/corda-simple-application/build.gradle | 6 ++++-- .../corda/corda-simple-application/repositories.gradle | 5 +++-- samples/corda/fungible-house-token/build.gradle | 8 ++++---- sdks/corda/build.gradle | 4 +++- .../network-setups/corda/dev/Corda_Network/build.gradle | 9 ++++----- .../network-setups/corda/dev/Corda_Network2/build.gradle | 9 ++++----- tests/network-setups/corda/scripts/get-cordapps.sh | 6 +++--- 11 files changed, 37 insertions(+), 28 deletions(-) diff --git a/common/protos-java-kt/build.gradle b/common/protos-java-kt/build.gradle index 694aece34..9e9837d75 100644 --- a/common/protos-java-kt/build.gradle +++ b/common/protos-java-kt/build.gradle @@ -23,7 +23,7 @@ repositories { mavenLocal() mavenCentral() maven { url 'https://repo1.maven.org/maven2' } - maven { url 'https://software.r3.com/artifactory/corda' } + maven { url 'https://download.corda.net/maven/corda-dependencies/' } maven { url 'https://jitpack.io' } } diff --git a/core/drivers/corda-driver/build.gradle b/core/drivers/corda-driver/build.gradle index de700685d..03180d725 100644 --- a/core/drivers/corda-driver/build.gradle +++ b/core/drivers/corda-driver/build.gradle @@ -15,7 +15,7 @@ buildscript { repositories { mavenCentral() - maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-releases' } } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" @@ -36,7 +36,9 @@ repositories { mavenCentral() mavenLocal() maven { url 'https://repo1.maven.org/maven2' } - maven { url 'https://software.r3.com/artifactory/corda' } + maven { url 'https://download.corda.net/maven/corda-dependencies' } + maven { url 'https://download.corda.net/maven/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-lib' } if (file("$projectDir/./github.properties").exists()) { def styler = 'black red green yellow blue magenta cyan white' .split().toList().withIndex(30) diff --git a/core/network/corda-interop-app/build.gradle b/core/network/corda-interop-app/build.gradle index 3618cec40..e5db853e2 100644 --- a/core/network/corda-interop-app/build.gradle +++ b/core/network/corda-interop-app/build.gradle @@ -33,7 +33,7 @@ buildscript { mavenLocal() mavenCentral() maven { url 'https://repo1.maven.org/maven2' } - maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-releases' } } dependencies { @@ -61,7 +61,9 @@ allprojects { mavenLocal() mavenCentral() maven { url 'https://repo1.maven.org/maven2' } - maven { url 'https://software.r3.com/artifactory/corda' } + maven { url 'https://download.corda.net/maven/corda-dependencies' } + maven { url 'https://download.corda.net/maven/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-lib' } maven { url 'https://jitpack.io' } if (github_url != "") { println("Fetching Weaver packages from: $github_url") diff --git a/core/network/corda-interop-app/repositories.gradle b/core/network/corda-interop-app/repositories.gradle index 510ec6253..6afa93c0e 100644 --- a/core/network/corda-interop-app/repositories.gradle +++ b/core/network/corda-interop-app/repositories.gradle @@ -3,6 +3,8 @@ repositories { mavenCentral() maven { url 'https://repo1.maven.org/maven2' } maven { url 'https://jitpack.io' } - maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda' } maven { url 'https://repo.gradle.org/gradle/libs-releases' } + maven { url 'https://download.corda.net/maven/corda-dependencies' } + maven { url 'https://download.corda.net/maven/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-lib' } } diff --git a/samples/corda/corda-simple-application/build.gradle b/samples/corda/corda-simple-application/build.gradle index 8ec904fe9..250c6db22 100644 --- a/samples/corda/corda-simple-application/build.gradle +++ b/samples/corda/corda-simple-application/build.gradle @@ -21,7 +21,7 @@ buildscript { mavenLocal() mavenCentral() maven { url 'https://repo1.maven.org/maven2' } - maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-releases' } } dependencies { @@ -47,7 +47,9 @@ allprojects { mavenLocal() maven { url 'https://repo1.maven.org/maven2' } mavenCentral() - maven { url 'https://software.r3.com/artifactory/corda' } + maven { url 'https://download.corda.net/maven/corda-dependencies' } + maven { url 'https://download.corda.net/maven/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-lib' } maven { url 'https://jitpack.io' } if (file("$projectDir/github.properties").exists()) { diff --git a/samples/corda/corda-simple-application/repositories.gradle b/samples/corda/corda-simple-application/repositories.gradle index 2874c2ab4..2a6e69ae8 100644 --- a/samples/corda/corda-simple-application/repositories.gradle +++ b/samples/corda/corda-simple-application/repositories.gradle @@ -1,8 +1,9 @@ repositories { mavenLocal() mavenCentral() - jcenter() maven { url 'https://jitpack.io' } - maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda' } + maven { url 'https://download.corda.net/maven/corda-dependencies' } + maven { url 'https://download.corda.net/maven/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-lib' } maven { url 'https://repo.gradle.org/gradle/libs-releases' } } diff --git a/samples/corda/fungible-house-token/build.gradle b/samples/corda/fungible-house-token/build.gradle index 1d9364a9a..479aef423 100644 --- a/samples/corda/fungible-house-token/build.gradle +++ b/samples/corda/fungible-house-token/build.gradle @@ -25,7 +25,7 @@ buildscript { mavenLocal() mavenCentral() jcenter() - maven { url 'https://software.r3.com/artifactory/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-releases' } } dependencies { @@ -43,12 +43,12 @@ allprojects { repositories { mavenLocal() - jcenter() mavenCentral() - maven { url 'https://software.r3.com/artifactory/corda' } maven { url 'https://jitpack.io' } //SDK lib - maven { url 'https://software.r3.com/artifactory/corda-lib' } + maven { url 'https://download.corda.net/maven/corda-dependencies' } + maven { url 'https://download.corda.net/maven/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-lib' } //Gradle Plugins maven { url 'https://repo.gradle.org/gradle/libs-releases' } if (file("$projectDir/../github.properties").exists()) { diff --git a/sdks/corda/build.gradle b/sdks/corda/build.gradle index 1919080d9..4c4a6f13b 100644 --- a/sdks/corda/build.gradle +++ b/sdks/corda/build.gradle @@ -40,7 +40,9 @@ Properties constants = new Properties() repositories { maven { url 'https://repo1.maven.org/maven2' } - maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda' } + maven { url 'https://download.corda.net/maven/corda-dependencies' } + maven { url 'https://download.corda.net/maven/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-lib' } if (file("$projectDir/./github.properties").exists()) { file("$projectDir/github.properties").withInputStream { constants.load(it) } maven { diff --git a/tests/network-setups/corda/dev/Corda_Network/build.gradle b/tests/network-setups/corda/dev/Corda_Network/build.gradle index 703040054..8c014d37e 100644 --- a/tests/network-setups/corda/dev/Corda_Network/build.gradle +++ b/tests/network-setups/corda/dev/Corda_Network/build.gradle @@ -20,8 +20,7 @@ buildscript { repositories { mavenLocal() mavenCentral() - jcenter() - maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-releases' } } dependencies { @@ -57,11 +56,11 @@ dependencies { repositories { mavenLocal() - jcenter() mavenCentral() - maven { url 'https://software.r3.com/artifactory/corda' } maven { url 'https://jitpack.io' } - maven { url 'https://software.r3.com/artifactory/corda-lib' } + maven { url 'https://download.corda.net/maven/corda-dependencies' } + maven { url 'https://download.corda.net/maven/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-lib' } } task ganache { diff --git a/tests/network-setups/corda/dev/Corda_Network2/build.gradle b/tests/network-setups/corda/dev/Corda_Network2/build.gradle index da4a64fa7..d353c9074 100644 --- a/tests/network-setups/corda/dev/Corda_Network2/build.gradle +++ b/tests/network-setups/corda/dev/Corda_Network2/build.gradle @@ -20,8 +20,7 @@ buildscript { repositories { mavenLocal() mavenCentral() - jcenter() - maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-releases' } } dependencies { @@ -57,11 +56,11 @@ dependencies { repositories { mavenLocal() - jcenter() mavenCentral() - maven { url 'https://software.r3.com/artifactory/corda' } maven { url 'https://jitpack.io' } - maven { url 'https://software.r3.com/artifactory/corda-lib' } + maven { url 'https://download.corda.net/maven/corda-dependencies' } + maven { url 'https://download.corda.net/maven/corda-releases' } + maven { url 'https://download.corda.net/maven/corda-lib' } } task ganache { diff --git a/tests/network-setups/corda/scripts/get-cordapps.sh b/tests/network-setups/corda/scripts/get-cordapps.sh index fa8b78faf..6af8f8673 100755 --- a/tests/network-setups/corda/scripts/get-cordapps.sh +++ b/tests/network-setups/corda/scripts/get-cordapps.sh @@ -69,9 +69,9 @@ elif [ "house" = "$app" ]; then ### Token SDK ### - (cd $directory/../shared/artifacts && curl -O https://software.r3.com/artifactory/corda-lib/com/r3/corda/lib/ci/ci-workflows/1.0/ci-workflows-1.0.jar) || exit 1 - (cd $directory/../shared/artifacts && curl -O https://software.r3.com/artifactory/corda-lib/com/r3/corda/lib/tokens/tokens-contracts/$tokenVersion/tokens-contracts-$tokenVersion.jar) || exit 1 - (cd $directory/../shared/artifacts && curl -O https://software.r3.com/artifactory/corda-lib/com/r3/corda/lib/tokens/tokens-workflows/$tokenVersion/tokens-workflows-$tokenVersion.jar) || exit 1 + (cd $directory/../shared/artifacts && curl -O https://download.corda.net/maven/corda-lib/com/r3/corda/lib/ci/ci-workflows/1.0/ci-workflows-1.0.jar) || exit 1 + (cd $directory/../shared/artifacts && curl -O https://download.corda.net/maven/corda-lib/com/r3/corda/lib/tokens/tokens-contracts/$tokenVersion/tokens-contracts-$tokenVersion.jar) || exit 1 + (cd $directory/../shared/artifacts && curl -O https://download.corda.net/maven/corda-lib/com/r3/corda/lib/tokens/tokens-workflows/$tokenVersion/tokens-workflows-$tokenVersion.jar) || exit 1 else echo "Cordapp not found" && exit 1