https://github.com/kerwin612/jar-runner
The library that can be used to run external jar packages in java projects.
https://github.com/kerwin612/jar-runner
Last synced: 5 months ago
JSON representation
The library that can be used to run external jar packages in java projects.
- Host: GitHub
- URL: https://github.com/kerwin612/jar-runner
- Owner: kerwin612
- License: apache-2.0
- Created: 2024-01-22T06:32:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-22T06:33:57.000Z (over 1 year ago)
- Last Synced: 2024-12-31T12:49:14.318Z (7 months ago)
- Language: Java
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jar-runner
**The library that can be used to run external jar packages in java projects.**
> Before running, it automatically downloads the dependencies of the jar package from the maven repository central, loads the dependencies using the isolated classloader, and then use reflection to invoke the methods in the external jar package.
**maven**:
```xmlio.github.kerwin612
jar-runner
0.1```
**gradle**:
```groovy
implementation 'io.github.kerwin612:jar-runner:0.1'
```**example**:
```java
JarRunner.load(Path loadedPath, boolean override, Path... jars).run(String className, String methodName, Object... args);
```