public class WebJarUtil extends Object
public static void hotReloadBrandingChanges(CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.bootstrap.model.AppArtifact resourcesArtifact, Set<String> hotReloadChanges) throws IOException
IOExceptionpublic static void hotReloadBrandingChanges(CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.bootstrap.model.AppArtifact resourcesArtifact, Set<String> hotReloadChanges, boolean useDefaultQuarkusBranding) throws IOException
IOExceptionpublic static Path copyResourcesForDevOrTest(LiveReloadBuildItem liveReloadBuildItem, CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.bootstrap.model.AppArtifact resourcesArtifact, String rootFolderInJar) throws IOException
IOExceptionpublic static Path copyResourcesForDevOrTest(LiveReloadBuildItem liveReloadBuildItem, CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.bootstrap.model.AppArtifact resourcesArtifact, String rootFolderInJar, boolean useDefaultQuarkusBranding) throws IOException
IOExceptionpublic static Map<String,byte[]> copyResourcesForProduction(CurateOutcomeBuildItem curateOutcomeBuildItem, io.quarkus.bootstrap.model.AppArtifact artifact, String rootFolderInJar) throws IOException
IOExceptionpublic static Map<String,byte[]> copyResourcesForProduction(CurateOutcomeBuildItem curateOutcomeBuildItem, io.quarkus.bootstrap.model.AppArtifact artifact, String rootFolderInJar, boolean useDefaultQuarkusBranding) throws IOException
IOExceptionpublic static void updateFile(Path original, byte[] newContent) throws IOException
IOExceptionpublic static void updateUrl(Path original, String path, String lineStartsWith, String format) throws IOException
IOExceptionpublic static String updateUrl(String original, String path, String lineStartsWith, String format)
public static io.quarkus.bootstrap.model.AppArtifact getAppArtifact(CurateOutcomeBuildItem curateOutcomeBuildItem, String groupId, String artifactId)
public static Path createResourcesDirectory(io.quarkus.bootstrap.model.AppArtifact userApplication, io.quarkus.bootstrap.model.AppArtifact resourcesArtifact)
Copyright © 2021 JBoss by Red Hat. All rights reserved.