diff --git a/core/src/main/java/io/xpipe/core/charsetter/Charsetter.java b/core/src/main/java/io/xpipe/core/charsetter/Charsetter.java index 95ad86e5f..13ccbf759 100644 --- a/core/src/main/java/io/xpipe/core/charsetter/Charsetter.java +++ b/core/src/main/java/io/xpipe/core/charsetter/Charsetter.java @@ -31,6 +31,8 @@ public abstract class Charsetter { NewLine newLine; } + protected Charsetter() {} + public static Charsetter INSTANCE; public static Charsetter get() { diff --git a/core/src/main/java/module-info.java b/core/src/main/java/module-info.java index 8b899a0de..89680e832 100644 --- a/core/src/main/java/module-info.java +++ b/core/src/main/java/module-info.java @@ -9,6 +9,7 @@ module io.xpipe.core { exports io.xpipe.core.data.node; exports io.xpipe.core.data.typed; exports io.xpipe.core.dialog; + exports io.xpipe.core.charsetter; opens io.xpipe.core.store; opens io.xpipe.core.source; @@ -18,7 +19,6 @@ module io.xpipe.core { opens io.xpipe.core.data.node; opens io.xpipe.core.data.typed; opens io.xpipe.core.dialog; - exports io.xpipe.core.charsetter; requires com.fasterxml.jackson.core; requires com.fasterxml.jackson.databind; diff --git a/jreleaser.gradle b/jreleaser.gradle index 5fcd81673..a5723a988 100644 --- a/jreleaser.gradle +++ b/jreleaser.gradle @@ -23,12 +23,6 @@ jreleaser { version = '17' multiProject = true } - - snapshot { - enabled = true - pattern = '.*-SNAPSHOT' - label = 'early-access' - } } release { @@ -74,6 +68,30 @@ jreleaser { transform = 'build/xpipe-api-{{version}}.jar' } } + + core { + artifact { + distributionType = 'SINGLE_JAR' + path = 'core/build/libs/core-{{version}}.jar' + transform = 'build/xpipe-core-{{version}}.jar' + } + } + + beacon { + artifact { + distributionType = 'SINGLE_JAR' + path = 'beacon/build/libs/beacon-{{version}}.jar' + transform = 'build/xpipe-beacon-{{version}}.jar' + } + } + + extension { + artifact { + distributionType = 'SINGLE_JAR' + path = 'extension/build/libs/extension-{{version}}.jar' + transform = 'build/xpipe-extension-{{version}}.jar' + } + } } announce {