Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmodding/mmodding-gradle
https://github.com/mmodding/mmodding-gradle
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mmodding/mmodding-gradle
- Owner: MModding
- License: other
- Created: 2024-06-01T18:13:00.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T15:12:59.000Z (16 days ago)
- Last Synced: 2024-10-25T15:28:06.921Z (14 days ago)
- Language: Java
- Size: 157 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MModding Gradle
## Overview
This project is basically a continuation of a discontinued project named yumi-gradle-mc-weaving-loom that was made by
LambdAurora. This old project is now a part of MModding Gradle, so it is still important to credit people for
their stuff.## Adding it to your project
In your `setings.gradle`:
```groovy
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == "com.mmodding.gradle") {
useModule("com.mmodding:mmodding-gradle:${requested.version}")
}
}
}
repositories {
// ...
maven {
name "JitPack"
url "https://jitpack.io"
}
maven {
name "QuiltMC"
url "https://maven.quiltmc.org/repository/release"
}
gradlePluginPortal()
}
}
```***Why is the QuiltMC maven needed??? Do I need to be on QuiltMC to use this plugin???***
No, you do not need to use the QuiltMC Toolchain to use this plugin. However, this plugin uses the
[Quilt Parsers](https://github.com/QuiltMC/quilt-parsers) library to handle JSON writing, which is only
a standalone Java Library. That means it is not required at runtime for Minecraft (since it is only used
for your gradle project management), so you do not need to have it as a dependency when playing the game.In your `libs.versions.toml`, inside the `plugins` category:
```toml
[plugins]
#...
mmodding_gradle = { id = "com.mmodding.gradle", version = "latest_version_avalaible" }
# ...
```In your `build.gradle`:
```groovy
plugins {
alias libs.plugins.mmodding.gradle
}
```## License
MModding Gradle is licensed under the [PolyForm Shield 1.0.0 License](LICENSE.md).