Lilliputian | The only Library you will ever need! 0.1

Never shade again. The only Library you will ever need!

  1. Kowatch
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/GoDead/Lilliputian
    Lilliputian

    Never shade again! The only dependency you will ever need!


    Lilliputian benefits

    • Reduce Jar size, no longer have to shade dependencies.
    • Other plugins can use the same pool of dependencies.
    • Incredibly small, only 8kb!

    Installation


    [​IMG]

    Using Lilliputian is extremely easy. Please check how to use it in the example!

    Code (Java):
    public class ExampleMain extends JavaPlugin {

        @Override
        public void onEnable() {
            final Lilliputian lilliputian = new Lilliputian(this);
            lilliputian.getDependencyBuilder()

                    // Jitpack
                    .addDependency(new Dependency(
                            Repository.JITPACK,
                            "com.github.retrooper",
                            "packetevents",
                            "1.6.9"))

                    // Maven Central
                    .addDependency(new Dependency(
                            Repository.MAVENCENTRAL,
                            "commons-io",
                            "commons-io",
                            "2.8.0"))

                    // Custom repository
                    .addDependency(new Dependency(
                            "https://jitpack.io",
                            "com.github.ProtocolSupport",
                            "ProtocolSupport",
                            "4fdd683"))
                    .loadDependencies();

            PacketEvents.init(this);
            PacketEvents.getSettings().setIdentifier("Lilliputian");

            System.out.println(PacketEvents.getSettings().getIdentifier());

            System.out.println(FileUtils.getTempDirectory().getAbsolutePath());
        }
    }
     

    Support

    For support, please join the official support server


    [​IMG]

    License


    [​IMG]

    Lilliputian is licensed under the MIT License