From a9493e87829de89fb008613447b684273940e9c9 Mon Sep 17 00:00:00 2001 From: Johann Bernhardt Date: Mon, 15 Nov 2021 20:15:38 +0100 Subject: [PATCH] Add addon.gradle support to migration tutorial --- docs/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migration.md b/docs/migration.md index c8c9bd7..b01d544 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -8,7 +8,7 @@ If they are missing in this document - we will gladly receive your suggestions/c 1. Copy and replace all files from [template](https://github.com/SinTh0r4s/ExampleMod1.7.10/releases/download/latest-migration/migration.zip) to your repository, but `build.gradle` 2. Copy all repositories from your `build.gradle(.kts)` to `repositories.gradle` 3. Copy all dependencies from your `build.gradle(.kts)` to `dependecies.gradle` -4. replace your `build.gradle(.kts)` with `build.gradle` from template. In case you have written some custom tasks/configurations not present in the template - move them to separate file and link it in this, like for example it does this with `dependencies.gradle` +4. replace your `build.gradle(.kts)` with `build.gradle` from template. In case you have written some custom tasks/configurations not present in the template - move them into `addon.gradle`. It will automatically be integrated if present. 5. Adapt `gradle.properties` to your mod 6. Ensure `src/main/resources/mcmod.info` contains `${modId}`, `${modName}`. `${modVersion}` and `${minecraftVersion}` 7. Re-import the project to your IDE (e.g. restart with clean caches in IntelliJ IDEA)