Updated repository lists to reduce dependency on Jitpack and removed unused repositories.

This commit is contained in:
Clinton Alexander 2018-09-03 18:21:58 +01:00 committed by Andrius Dagys
parent d01dd22419
commit a28fa69865
5 changed files with 1 additions and 37 deletions

View File

@ -210,6 +210,7 @@ allprojects {
mavenLocal()
mavenCentral()
jcenter()
maven { url "$artifactory_contextUrl/corda-dependencies" }
maven { url 'https://jitpack.io' }
}
@ -258,12 +259,6 @@ allprojects {
if (!JavaVersion.current().java8Compatible)
throw new GradleException("Corda requires Java 8, please upgrade to at least 1.8.0_$java8_minUpdateVersion")
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
// Required for building out the fat JAR.
dependencies {
compile project(':node')

View File

@ -3,15 +3,6 @@ apply plugin: 'application'
apply plugin: 'net.corda.plugins.cordformation'
apply plugin: 'net.corda.plugins.quasar-utils'
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
configurations {
integrationTestCompile.extendsFrom testCompile
integrationTestRuntime.extendsFrom testRuntime

View File

@ -3,15 +3,6 @@ version '1.0-SNAPSHOT'
apply plugin: 'kotlin'
repositories {
mavenLocal()
mavenCentral()
maven {
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
jcenter()
}
compileKotlin {
kotlinOptions.suppressWarnings = true
}

View File

@ -1,7 +1,3 @@
repositories {
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'application'

View File

@ -11,15 +11,6 @@ configurations {
runtimeArtifacts.extendsFrom runtime
}
repositories {
mavenLocal()
mavenCentral()
maven {
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
jcenter()
}
// Force the Caplet to target Java 6. This ensures that running 'java -jar explorer.jar' on any Java 6 VM upwards
// will get as far as the Capsule version checks, meaning that if your JVM is too old, you will at least get
// a sensible error message telling you what to do rather than a bytecode version exception that doesn't.