Skip to content

Commit

Permalink
fix: update broken corda repository links
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Nishad <sandeep.nishad1@ibm.com>
  • Loading branch information
sandeepnRES committed May 17, 2024
1 parent b6d5466 commit e74bec2
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 28 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 @@ -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' }
}

Expand Down
6 changes: 4 additions & 2 deletions core/drivers/corda-driver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions core/network/corda-interop-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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")
Expand Down
4 changes: 3 additions & 1 deletion core/network/corda-interop-app/repositories.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
}
6 changes: 4 additions & 2 deletions samples/corda/corda-simple-application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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()) {
Expand Down
5 changes: 3 additions & 2 deletions samples/corda/corda-simple-application/repositories.gradle
Original file line number Diff line number Diff line change
@@ -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' }
}
8 changes: 4 additions & 4 deletions samples/corda/fungible-house-token/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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()) {
Expand Down
4 changes: 3 additions & 1 deletion sdks/corda/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
9 changes: 4 additions & 5 deletions tests/network-setups/corda/dev/Corda_Network/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
9 changes: 4 additions & 5 deletions tests/network-setups/corda/dev/Corda_Network2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions tests/network-setups/corda/scripts/get-cordapps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e74bec2

Please sign in to comment.