From 94b1a4afb16e672df0fd0fdcdfd96526ce7bfb62 Mon Sep 17 00:00:00 2001 From: Liam Newman Date: Tue, 17 Sep 2024 14:10:28 -0700 Subject: [PATCH] Modifications for unbridged v1.325 --- .../{github-api => github-api-unbridged}/reflect-config.json | 0 .../serialization-config.json | 0 src/test/java/org/kohsuke/aot/AotIntegrationTest.java | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/main/resources/META-INF/native-image/org.kohsuke/{github-api => github-api-unbridged}/reflect-config.json (100%) rename src/main/resources/META-INF/native-image/org.kohsuke/{github-api => github-api-unbridged}/serialization-config.json (100%) diff --git a/src/main/resources/META-INF/native-image/org.kohsuke/github-api/reflect-config.json b/src/main/resources/META-INF/native-image/org.kohsuke/github-api-unbridged/reflect-config.json similarity index 100% rename from src/main/resources/META-INF/native-image/org.kohsuke/github-api/reflect-config.json rename to src/main/resources/META-INF/native-image/org.kohsuke/github-api-unbridged/reflect-config.json diff --git a/src/main/resources/META-INF/native-image/org.kohsuke/github-api/serialization-config.json b/src/main/resources/META-INF/native-image/org.kohsuke/github-api-unbridged/serialization-config.json similarity index 100% rename from src/main/resources/META-INF/native-image/org.kohsuke/github-api/serialization-config.json rename to src/main/resources/META-INF/native-image/org.kohsuke/github-api-unbridged/serialization-config.json diff --git a/src/test/java/org/kohsuke/aot/AotIntegrationTest.java b/src/test/java/org/kohsuke/aot/AotIntegrationTest.java index 574661906f..2b3293b364 100644 --- a/src/test/java/org/kohsuke/aot/AotIntegrationTest.java +++ b/src/test/java/org/kohsuke/aot/AotIntegrationTest.java @@ -34,11 +34,11 @@ public class AotIntegrationTest { @Test public void testIfAllRequiredClassesAreRegisteredForAot() throws IOException { Stream providedReflectionConfigStreamOfNames = readAotConfigToStreamOfClassNames( - "./target/classes/META-INF/native-image/org.kohsuke/github-api/reflect-config.json"); + "./target/classes/META-INF/native-image/org.kohsuke/github-api-unbridged/reflect-config.json"); Stream providedNoReflectStreamOfNames = Files .lines(Path.of("./target/test-classes/no-reflect-and-serialization-list")); Stream providedSerializationStreamOfNames = readAotConfigToStreamOfClassNames( - "./target/classes/META-INF/native-image/org.kohsuke/github-api/serialization-config.json"); + "./target/classes/META-INF/native-image/org.kohsuke/github-api-unbridged/serialization-config.json"); Stream providedAotConfigClassNamesPart = Stream .concat(providedSerializationStreamOfNames, Stream.concat(providedReflectionConfigStreamOfNames, providedNoReflectStreamOfNames))