diff --git a/README.adoc b/README.adoc index 52539ae4..d720142f 100644 --- a/README.adoc +++ b/README.adoc @@ -8,28 +8,28 @@ A suite of tests for applications using AOT on the JVM and in Graal native image [source,] ---- -./gradlew --offline ::jvmAotTest +./gradlew ::jvmAotTest ---- for example [source,] ---- -./gradlew --offline :actuator-webmvc:jvmAotTest +./gradlew :actuator-webmvc:jvmAotTest ---- === Run a single test [source,] ---- -./gradlew --offline ::build +./gradlew ::build ---- for example [source,] ---- -./gradlew --offline :actuator-webmvc:build +./gradlew :actuator-webmvc:build ---- === Add a new sample diff --git a/settings.gradle b/settings.gradle index 2e2f5cac..3bca02a7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -3,8 +3,30 @@ pluginManagement { plugins { id "io.spring.javaformat" version "0.0.34" id "org.graalvm.buildtools.native" version "0.9.13" - id "org.springframework.boot" version "3.0.0-SNAPSHOT" - id "org.springframework.boot.aot" version "3.0.0-SNAPSHOT" + } + repositories { + gradlePluginPortal() + mavenCentral() + 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") + } + configurations.classpath { + resolutionStrategy { + cacheDynamicVersionsFor 24, 'hours' + cacheChangingModulesFor 24, 'hours' + } } repositories { gradlePluginPortal() @@ -12,11 +34,11 @@ pluginManagement { maven { url "https://repo.spring.io/snapshot" } + maven { + url 'https://repo.spring.io/milestone' + } maven { url "https://repo.spring.io/release" - content { - includeGroup "io.spring.ge.conventions" - } } } }