Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ateranimavis/tiny-mcp
Generates Tiny Mappings based on MCP Mappings Releases
https://github.com/ateranimavis/tiny-mcp
Last synced: 23 days ago
JSON representation
Generates Tiny Mappings based on MCP Mappings Releases
- Host: GitHub
- URL: https://github.com/ateranimavis/tiny-mcp
- Owner: AterAnimAvis
- License: mit
- Created: 2021-01-16T22:23:12.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-08T10:14:34.000Z (over 3 years ago)
- Last Synced: 2024-10-29T06:27:51.251Z (2 months ago)
- Language: Java
- Homepage:
- Size: 85.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tiny-MCP
---
### MCP Mappings to Yarn (Tiny v1)Generates Tiny Mappings based on MCP Mappings Releases
The source code for this project is based on [Devoldefy](https://github.com/Runemoro/Devoldefy) by [Runemoro](https://github.com/Runemoro/)
### **Warning: This is *very dumb*, Use at your own risk**
### Usage
Edit `gradle.properties` and then run `gradlew install` to install the generated mappings to your local maven
You can disable the generation of TinyV1 or TinyV2 mappings by changing the appropriate `generateV` in the `gradle.properties`
Add the local repository to your `build.gradle.kts`
```kotlin
repositories {
mavenLocal {
content { includeGroup("net.fabricmc") }
}
}
```Change your mappings dependency like so
```kotlin
dependencies {
"mappings"(group = "net.fabricmc", name = "yarn", version = "$yarnVersion+build.$yarnBuild.mcp.$mappingsChannel.${mappingsVersion.replace("-", ".")}")
}
```### Example
For Example with the following `gradle.properties`
```properties
mappingsChannel=snapshot
mappingsVersion=20201028-1.16.3
yarnVersion=1.16.5
yarnBuild=1
```The generated dependency would have a version of `1.16.5+build.1.mcp.snapshot.20201028.1.16.3`