From a75f75f37a022d7aeb077d7d338b4c799d17794a Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Sat, 30 Nov 2024 16:49:21 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9BFix=20link=20issue=20for=20awslib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 3 --- .../java/com/plantuml/stdlibencoder/StdlibFolderBuilder.java | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 08160ae4..0d6e9aa6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,6 @@ plugins { id("java") id("application") - id("com.github.johnrengelman.shadow") version "7.1.2" id("eclipse") } @@ -12,8 +11,6 @@ repositories { dependencies { testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.1") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.1") - implementation("com.beust:jcommander:1.81") - implementation("org.fusesource.jansi:jansi:2.4.0") implementation("net.sourceforge.plantuml:plantuml:1.2024.5") } diff --git a/src/main/java/com/plantuml/stdlibencoder/StdlibFolderBuilder.java b/src/main/java/com/plantuml/stdlibencoder/StdlibFolderBuilder.java index b1bf9a55..263f9f23 100644 --- a/src/main/java/com/plantuml/stdlibencoder/StdlibFolderBuilder.java +++ b/src/main/java/com/plantuml/stdlibencoder/StdlibFolderBuilder.java @@ -54,7 +54,6 @@ public class StdlibFolderBuilder { */ public StdlibFolderBuilder(String name) throws IOException { this.dir = new File("stdlib", name); - System.err.println("in " + dir); final File rawFolder = rawFolder(); final File spritesFile = new File(rawFolder, name.toLowerCase() + "-def.repx"); @@ -62,12 +61,10 @@ public StdlibFolderBuilder(String name) throws IOException { final File colorImagesFile = new File(rawFolder, name.toLowerCase() + "-ghi.repx"); final String infoString = readInfo(new File(dir, "README.md")); - System.err.println("infoString:" + infoString.replace('\n', ' ')); this.texts = new DataOutputStream(new FileOutputStream(textFile)); texts.writeUTF(infoString); - if (infoString.contains("LINK=")) { - System.err.println("Link!"); + if (infoString.contains("link:")) { texts.writeUTF(SEPARATOR); texts.close(); } else {