Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onelitefeathernet/glue
A git patcher inspired by soft spoon of paper
https://github.com/onelitefeathernet/glue
bukkit forge git gitpatcher minestom paper patch patch-management
Last synced: about 2 months ago
JSON representation
A git patcher inspired by soft spoon of paper
- Host: GitHub
- URL: https://github.com/onelitefeathernet/glue
- Owner: OneLiteFeatherNET
- License: agpl-3.0
- Created: 2023-06-25T08:31:42.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-01T11:20:14.000Z (4 months ago)
- Last Synced: 2024-10-30T05:42:34.456Z (3 months ago)
- Topics: bukkit, forge, git, gitpatcher, minestom, paper, patch, patch-management
- Language: Kotlin
- Homepage: https://discord.onelitefeather.net
- Size: 294 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Glue
A code patcher that glues source code changes together with patches## How to use in your project:
Add this in your `build.gradle.kts`:
```kt
plugins {
id("dev.onelitefeather.glue") version ""
}
group = "me.yourgroupname.yourplugin"
version = "1.0.0-SNAPSHOT"glue {
upstreams {
useStandardUpstream("YourProjectOrUpstreamName") {
// This line sets the git clone url, for example: https://github.com/organisation/repository.git
url.set(github("organisation", "repository"))// Always use the long git commit hash to check out the wanted state
ref = ""// This is where the user changes are
patchDir = layout.projectDirectory.dir("patches")// This is the base repository to generate the patches (diffs are made in the background against the output dir)
upstreamDir = layout.projectDirectory.dir("upstream")// The repository with all included changes also called work directory
outputDir = layout.projectDirectory.dir("downstream")
}
}
}
```Inspired by [paperweight](https://github.com/PaperMC/paperweight/tree/softspoon-v2)