Skip to content

Lightweight plugin loading and unloading at runtime.

License

Notifications You must be signed in to change notification settings

LCLPYT/plugins4j

Repository files navigation

plugins4j

Lightweight plugin loading and unloading at runtime.

Installation

You can install plugins4j via Gradle.

To use plugins4j in your project, modify your project.gradle:

repositories {
    mavenCentral()
    
    maven {
        url "https://repo.lclpnet.work/repository/internal"
    }
}

dependencies {
    implementation 'work.lclpnet:plugins4j:0.5.0'  // replace with your version
}

All available versions can be found here.

Example application

An example CLI program using plugins4j can be found here.

Run the example app yourself

First, clone the repository. Then, make sure you have Java 17 installed. If not, install it.

Build and run the application:

cd plugins4j/           # project directory
./gradlew deploy        # make sure gradle uses java 17

cd run/
java -jar example.jar   # make sure to use java 17

Type help to display all available commands.

About

Lightweight plugin loading and unloading at runtime.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages