spring-projects-experimental / spring-fu

Configuration DSLs for Spring Boot
Apache License 2.0
1.67k stars 139 forks source link

Build uses jcenter() which is deprecated and will be removed in Gradle 8 #385

Closed frayneposset closed 2 years ago

frayneposset commented 2 years ago

As the build works fine without jcenter I suggest that it is removed.

Patch below:

Index: settings.gradle.kts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/settings.gradle.kts b/settings.gradle.kts
--- a/settings.gradle.kts   (revision c0b7cb1c92f88a23923561e719992859776c7636)
+++ b/settings.gradle.kts   (date 1640869494144)
@@ -11,7 +11,6 @@
        gradlePluginPortal()
        maven("https://repo.spring.io/milestone")
        maven("https://repo.spring.io/snapshot")
-       jcenter()
    }
    resolutionStrategy {
        val bootVersion: String by settings
Index: build.gradle.kts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/build.gradle.kts b/build.gradle.kts
--- a/build.gradle.kts  (revision c0b7cb1c92f88a23923561e719992859776c7636)
+++ b/build.gradle.kts  (date 1640869479458)
@@ -66,7 +66,6 @@
        mavenCentral()
        maven("https://repo.spring.io/milestone")
        maven("https://repo.spring.io/snapshot")
-       jcenter()
    }
 }