From d2072ea5601da492037b30d9b18fe4e779de7c02 Mon Sep 17 00:00:00 2001 From: Cedric Champeau Date: Fri, 2 Feb 2024 15:44:02 +0100 Subject: [PATCH] Fix test so that it doesn't actually try to reach remote This has a side effect if the metadata repo is actually published. --- .../graalvm/buildtools/gradle/NativeImagePluginTest.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native-gradle-plugin/src/test/groovy/org/graalvm/buildtools/gradle/NativeImagePluginTest.groovy b/native-gradle-plugin/src/test/groovy/org/graalvm/buildtools/gradle/NativeImagePluginTest.groovy index 3e8ae2bd4..f55f92343 100644 --- a/native-gradle-plugin/src/test/groovy/org/graalvm/buildtools/gradle/NativeImagePluginTest.groovy +++ b/native-gradle-plugin/src/test/groovy/org/graalvm/buildtools/gradle/NativeImagePluginTest.groovy @@ -21,8 +21,8 @@ class NativeImagePluginTest extends Specification { private URI fallbackUri def setup() { - project = ProjectBuilder.builder().build() - project.repositories.mavenCentral() + project = ProjectBuilder.builder() + .build() project.plugins.apply(NativeImagePlugin) reachabilityMetadataRepositoryExtension = project.extensions .findByType(GraalVMExtension)