Closed Velyn-N closed 1 year ago
I looked into Building with Jitpack and made it work. I adjusted the Documentation in README.md accordingly. This will work only after this PR is merged as Jitpack tries to compile with Java 8 by default.
I tested it with my Fork and it works:
<dependency>
<groupId>com.github.Velyn-N</groupId>
<artifactId>servertap</artifactId>
<version>0.5.4-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
(Yes, I but in the wrong version format in the tag. Works fine tho xD)
If wanted I can further explain how the Jitpack Stuff works.
Closed by #236
I brought this Idea up in the Discord a little over a week ago and finally implemented it today.
The API is build with Interfaces and underlying Implementations. It is used by other Plugins via Bukkits ServiceProvider Feature. That way you do not have any Plugin Load Order Problems and even circular dependencies would not be a problem.
There is Documentation about the API in README.md
To be able to add ServerTap as a Maven Dependency it has to be installed into the local Maven Repository. That of course is not very user friendly. Maybe you could use something like Jitpack or GitHub Packages to distribute ServerTap? I wanted to leave this decision to the maintainers.