From e59eca101fc840ef7d3f0c5e57483f75ba5c3736 Mon Sep 17 00:00:00 2001 From: Laszlo Kishalmi Date: Fri, 5 Feb 2021 05:36:22 -0800 Subject: [PATCH] [NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle Projects --- extide/gradle/netbeans-gradle-tooling/build.gradle | 2 +- .../netbeans-gradle-tooling/src/test/data/multi/build.gradle | 2 +- .../src/test/data/simple-with-tests/build.gradle | 2 +- .../src/test/data/unresolvable/build.gradle | 2 +- .../modules/gradle/newproject/multi-root.gradle.template | 2 +- .../modules/gradle/newproject/single-build.gradle.template | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/extide/gradle/netbeans-gradle-tooling/build.gradle b/extide/gradle/netbeans-gradle-tooling/build.gradle index a8db3ec97f5e..23412e70e93b 100644 --- a/extide/gradle/netbeans-gradle-tooling/build.gradle +++ b/extide/gradle/netbeans-gradle-tooling/build.gradle @@ -26,7 +26,7 @@ sourceCompatibility = '1.8' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' repositories { - jcenter() + mavenCentral() } dependencies { diff --git a/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle b/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle index 1c30ceacef4f..50ceec525e2e 100644 --- a/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle +++ b/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle @@ -22,7 +22,7 @@ subprojects { apply plugin: 'jacoco' repositories { - jcenter() + mavenCentral() } } diff --git a/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle b/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle index 5e41a81d89a2..666569db7863 100644 --- a/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle +++ b/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle @@ -28,7 +28,7 @@ import org.gradle.tooling.model.Task apply plugin: 'groovy' repositories { - jcenter() + mavenCentral() } dependencies { diff --git a/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle b/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle index 857634f8d6bf..38c71844dd63 100644 --- a/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle +++ b/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle @@ -20,7 +20,7 @@ apply plugin: 'java' repositories { - jcenter() + mavenCentral() } dependencies { diff --git a/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template b/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template index e834be657950..ec5a45816664 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template +++ b/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template @@ -9,7 +9,7 @@ allprojects { repositories { - jcenter() + mavenCentral() } } diff --git a/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template b/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template index e9139aba8b30..bfefcffcad77 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template +++ b/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template @@ -22,7 +22,7 @@ sourceCompatibility = ${javaVersion} targetCompatibility = ${javaVersion} repositories { - jcenter() + mavenCentral() } <#if dependencies??>