diff --git a/bundler/src/main/java/dev/openrs2/bundler/Bundler.java b/bundler/src/main/java/dev/openrs2/bundler/Bundler.java deleted file mode 100644 index 94e61d8f..00000000 --- a/bundler/src/main/java/dev/openrs2/bundler/Bundler.java +++ /dev/null @@ -1,21 +0,0 @@ -package dev.openrs2.bundler; - -import com.google.common.collect.ImmutableList; -import dev.openrs2.asm.transform.Transformer; -import dev.openrs2.bundler.transform.BufferSizeTransformer; -import dev.openrs2.bundler.transform.CachePathTransformer; -import dev.openrs2.bundler.transform.HostCheckTransformer; -import dev.openrs2.bundler.transform.LoadLibraryTransformer; -import dev.openrs2.bundler.transform.MacResizeTransformer; -import dev.openrs2.bundler.transform.RightClickTransformer; - -public final class Bundler { - public static final ImmutableList TRANSFORMERS = ImmutableList.of( - new BufferSizeTransformer(), - new CachePathTransformer(), - new HostCheckTransformer(), - new MacResizeTransformer(), - new RightClickTransformer(), - new LoadLibraryTransformer() - ); -} diff --git a/bundler/src/main/java/dev/openrs2/bundler/Bundler.kt b/bundler/src/main/java/dev/openrs2/bundler/Bundler.kt new file mode 100644 index 00000000..9882ea38 --- /dev/null +++ b/bundler/src/main/java/dev/openrs2/bundler/Bundler.kt @@ -0,0 +1,17 @@ +package dev.openrs2.bundler + +import dev.openrs2.bundler.transform.* + +class Bundler { + companion object { + @JvmField + val TRANSFORMERS = listOf( + BufferSizeTransformer(), + CachePathTransformer(), + HostCheckTransformer(), + MacResizeTransformer(), + RightClickTransformer(), + LoadLibraryTransformer() + ) + } +}