This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep track of paperd protocol file in Paperclip as well
paperd reads this file to determine the protocol version the jar supports. Since Paperclip wraps our output jar too we need to include this protocol version file in Paperclip as well. Also this commits refactors and modernizes the project in general, updating / removing dependencies, cleaning up the code, and moving the code to the io.papermc package.
- Loading branch information
Showing
4 changed files
with
106 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
src/main/java/com/destroystokyo/paperclipmavenplugin/PatchData.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/java/io/papermc/paperclipmavenplugin/PatchData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Paperclip Maven Plugin - Generates the Data class + patch file for Paperclip | ||
* | ||
* Copyright (c) 2019 Kyle Wood (DemonWav) | ||
* https://github.com/PaperMC/PaperclipMavenPlugin | ||
* | ||
* MIT License | ||
*/ | ||
|
||
package io.papermc.paperclipmavenplugin; | ||
|
||
class PatchData { | ||
String patch; | ||
String sourceUrl; | ||
String originalHash; | ||
String patchedHash; | ||
String version; | ||
} |