Clean up gradle build scripts

This commit is contained in:
Moritz Halbritter
2022-07-21 16:28:40 +02:00
parent ab4d9cda4e
commit d96232d7ff
2 changed files with 7 additions and 27 deletions

View File

@@ -1,5 +1,8 @@
plugins {
id "io.spring.javaformat" apply false
id "io.spring.javaformat" version "0.0.34" apply false
id "org.graalvm.buildtools.native" version "0.9.13" apply false
id "org.springframework.boot" version "3.0.0-SNAPSHOT" apply false
id "org.springframework.boot.aot" version "3.0.0-SNAPSHOT" apply false
}
subprojects {

View File

@@ -2,32 +2,6 @@ pluginManagement {
includeBuild "gradle-plugins/aot-smoke-test-plugin"
repositories {
gradlePluginPortal()
maven {
url "https://repo.spring.io/release"
content {
includeGroup "io.spring.ge.conventions"
}
}
}
}
// This is needed to prevent gradle from checking for newer versions of the Spring Boot
// plugin on every build in every sub-project
buildscript {
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:3.0.0-SNAPSHOT")
classpath("io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.34")
classpath("org.graalvm.buildtools:native-gradle-plugin:0.9.13")
}
configurations.classpath {
resolutionStrategy {
cacheDynamicVersionsFor 24, 'hours'
cacheChangingModulesFor 24, 'hours'
}
}
repositories {
gradlePluginPortal()
mavenCentral()
maven {
url "https://repo.spring.io/snapshot"
}
@@ -36,6 +10,9 @@ buildscript {
}
maven {
url "https://repo.spring.io/release"
content {
includeGroup "io.spring.ge.conventions"
}
}
}
}