Replace spring-io-plugin with dependency-management-plugin
This commit is contained in:
12
build.gradle
12
build.gradle
@@ -1,19 +1,11 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven {
|
||||
url = 'https://repo.spring.io/plugins-release'
|
||||
if (project.hasProperty('artifactoryUsername')) {
|
||||
credentials {
|
||||
username "$artifactoryUsername"
|
||||
password "$artifactoryPassword"
|
||||
}
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath "com.github.ben-manes:gradle-versions-plugin:0.36.0"
|
||||
classpath("io.spring.gradle:spring-io-plugin:0.0.8.RELEASE")
|
||||
classpath "io.spring.gradle:dependency-management-plugin:1.1.0"
|
||||
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.28.2"
|
||||
classpath 'org.hidetake:gradle-ssh-plugin:2.10.1'
|
||||
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0'
|
||||
|
||||
@@ -10,7 +10,6 @@ sourceCompatibility = JavaVersion.VERSION_17
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url 'https://repo.spring.io/plugins-release/' }
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -54,4 +54,8 @@ compileTestJava {
|
||||
|
||||
test {
|
||||
jvmArgs '--add-exports', 'java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
|
||||
}
|
||||
}
|
||||
|
||||
checkFormatMain {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ pluginManagement {
|
||||
}
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven { url 'https://repo.spring.io/plugins-release' }
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user