diff --git a/build.gradle b/build.gradle index 4c4e457898..b8d1cf5f95 100644 --- a/build.gradle +++ b/build.gradle @@ -43,18 +43,6 @@ configurations.all { apply plugin: 'org.owasp.dependencycheck' -configure(subprojects.findAll { ['core', 'examples', 'docs'].contains(it.name) }) { - repositories { - mavenLocal() - maven { url "http://download.osgeo.org/webdav/geotools" } - mavenCentral() - jcenter() - maven { url "https://dl.bintray.com/readytalk/maven" } - maven { url "https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts" } - maven { url "https://repo.osgeo.org/repository/release/" } - maven { url "https://download.osgeo.org/webdav/geotools/" } - } -} configure(subprojects.findAll { ['core', 'examples'].contains(it.name) }) { apply plugin: 'java' apply plugin: 'com.github.spotbugs' diff --git a/core/build.gradle b/core/build.gradle index 3a78d83ad4..4b8fe30608 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -5,6 +5,13 @@ apply plugin: 'distribution' defaultTasks 'build' +repositories { + mavenCentral() + jcenter() + maven { url "https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts" } + maven { url "https://repo.osgeo.org/repository/release/" } +} + // the task `run` of the gretty plugin conflicts with the task with the same // name of the plugin `application`. that's why the following tasks are defined // manually. diff --git a/docs/build.gradle b/docs/build.gradle index 227c3bb308..fe8fb277e2 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -4,6 +4,13 @@ apply plugin: 'idea' defaultTasks 'build' +repositories { + mavenCentral() + jcenter() + maven { url "https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts" } + maven { url "https://repo.osgeo.org/repository/release/" } +} + dependencies { compile project(':core') compile "org.codehaus.groovy:groovy-all:$project.groovyVersion", diff --git a/examples/build.gradle b/examples/build.gradle index 70c41c9766..1fe97fea8e 100644 --- a/examples/build.gradle +++ b/examples/build.gradle @@ -1,8 +1,11 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent repositories { - maven { url 'https://maven.restlet.org' } + mavenCentral() jcenter() + maven { url 'https://maven.restlet.org' } + maven { url "https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts" } + maven { url "https://repo.osgeo.org/repository/release/" } } dependencies {