diff --git a/.gitignore b/.gitignore index c9a75934..4965c82d 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,3 @@ options.txt usercache.json usernamecache.json *.txt - -versions/*/tmp.srg -versions/*/api/ diff --git a/versions/1.12.2-1.8.9.txt b/example/1.12.2-1.8.9.txt similarity index 100% rename from versions/1.12.2-1.8.9.txt rename to example/1.12.2-1.8.9.txt diff --git a/versions/1.15.2-1.12.2.txt b/example/1.15.2-1.12.2.txt similarity index 100% rename from versions/1.15.2-1.12.2.txt rename to example/1.15.2-1.12.2.txt diff --git a/versions/build.gradle.kts b/example/build.gradle.kts similarity index 100% rename from versions/build.gradle.kts rename to example/build.gradle.kts diff --git a/versions/mainProject b/example/mainProject similarity index 100% rename from versions/mainProject rename to example/mainProject diff --git a/versions/root.gradle.kts b/example/root.gradle.kts similarity index 100% rename from versions/root.gradle.kts rename to example/root.gradle.kts diff --git a/versions/src/main/java/com/example/examplemod/ExampleMod.java b/example/src/main/java/com/example/examplemod/ExampleMod.java similarity index 100% rename from versions/src/main/java/com/example/examplemod/ExampleMod.java rename to example/src/main/java/com/example/examplemod/ExampleMod.java diff --git a/versions/src/main/resources/META-INF/mods.toml b/example/src/main/resources/META-INF/mods.toml similarity index 100% rename from versions/src/main/resources/META-INF/mods.toml rename to example/src/main/resources/META-INF/mods.toml diff --git a/versions/src/main/resources/fabric.mod.json b/example/src/main/resources/fabric.mod.json similarity index 100% rename from versions/src/main/resources/fabric.mod.json rename to example/src/main/resources/fabric.mod.json diff --git a/settings.gradle.kts b/settings.gradle.kts index a6201fb5..7af485c9 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -25,9 +25,8 @@ include(":unstable:statev2") include(":unstable:layoutdsl") -include(":platform") -project(":platform").apply { - projectDir = file("versions/") +include(":example") +project(":example").apply { buildFileName = "root.gradle.kts" } listOf( @@ -40,9 +39,8 @@ listOf( "1.18.1-fabric", "1.18.1-forge", ).forEach { version -> - include(":platform:$version") - project(":platform:$version").apply { - projectDir = file("versions/$version") + include(":example:$version") + project(":example:$version").apply { buildFileName = "../build.gradle.kts" } } diff --git a/versions/1.12.2-forge/.gitkeep b/versions/1.12.2-forge/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/versions/1.15.2-forge/.gitkeep b/versions/1.15.2-forge/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/versions/1.16.2-fabric/.gitkeep b/versions/1.16.2-fabric/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/versions/1.16.2-forge/.gitkeep b/versions/1.16.2-forge/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/versions/1.8.9-forge/.gitkeep b/versions/1.8.9-forge/.gitkeep deleted file mode 100644 index e69de29b..00000000