Skip to content

Commit

Permalink
Improve project structure (#152)
Browse files Browse the repository at this point in the history
* Improve moduleDependencies notation

* Setup new buildscript

* Port api-base and logger-api

* Infer module dependencies from MCVersion

* Port legacy-fabric-resource-loader-v1

* Port legacy-fabric-lifecycle-events-v1

* Fix common modules depending on non common modules too

* Port legacy-fabric-command-api-v1

* Port legacy-fabric-entity-events-v1

* Port legacy-fabric-gamerule-api-v1

* Port legacy-fabric-item-groups-v1

* Port legacy-fabric-keybindings-api-v1

* Port legacy-fabric-networking-api-v1

* Port legacy-fabric-permissions-api-v1

* Port legacy-fabric-registry-sync-api-v1

* Port legacy-fabric-rendering-api-v1

* Port legacy-fabric-crash-report-info-v1

* Port legacy-fabric-command-api-v2

* Port helper pom module

* Don't generate a range when min and max versions are the same

* Add missing minecraft version requirement to some common modules

* Add back access wideners

* Don't create testmod tasks for projects without tests

* Fix CI failing randomly

* Fix some CI quirks

* Fix version check

* Remove old project declarations
  • Loading branch information
thecatcore authored Feb 9, 2024
1 parent 2b8acba commit 450251e
Show file tree
Hide file tree
Showing 980 changed files with 1,073 additions and 955 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:17-jdk
options: --user root
Expand All @@ -13,15 +13,16 @@ jobs:
with:
fetch-depth: 0
- uses: gradle/wrapper-validation-action@v1
- run: ./gradlew check build publishToMavenLocal --stacktrace --parallel
- run: ./gradlew check build --stacktrace --parallel
- run: ./gradlew publishToMavenLocal --stacktrace
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: ./*/build/libs/
path: ./**/build/libs/
- uses: actions/upload-artifact@v3
with:
name: Maven Local
Expand Down
1 change: 0 additions & 1 deletion 1.10.2/build.gradle

This file was deleted.

9 changes: 0 additions & 9 deletions 1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle

This file was deleted.

5 changes: 0 additions & 5 deletions 1.10.2/legacy-fabric-resource-loader-v1/build.gradle

This file was deleted.

29 changes: 0 additions & 29 deletions 1.10.2/legacyfabric-api/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion 1.11.2/build.gradle

This file was deleted.

29 changes: 0 additions & 29 deletions 1.11.2/legacyfabric-api/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion 1.12.2/build.gradle

This file was deleted.

8 changes: 0 additions & 8 deletions 1.12.2/legacy-fabric-command-api-v2/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.12.2/legacy-fabric-entity-events-v1/build.gradle

This file was deleted.

5 changes: 0 additions & 5 deletions 1.12.2/legacy-fabric-item-groups-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.12.2/legacy-fabric-networking-api-v1/build.gradle

This file was deleted.

9 changes: 0 additions & 9 deletions 1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle

This file was deleted.

5 changes: 0 additions & 5 deletions 1.12.2/legacy-fabric-resource-loader-v1/build.gradle

This file was deleted.

29 changes: 0 additions & 29 deletions 1.12.2/legacyfabric-api/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion 1.13.2/build.gradle

This file was deleted.

29 changes: 0 additions & 29 deletions 1.13.2/legacyfabric-api/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion 1.7.10/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.7.10/legacy-fabric-api-base/build.gradle

This file was deleted.

8 changes: 0 additions & 8 deletions 1.7.10/legacy-fabric-command-api-v2/build.gradle

This file was deleted.

8 changes: 0 additions & 8 deletions 1.7.10/legacy-fabric-keybindings-api-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.7.10/legacy-fabric-lifecycle-events-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.7.10/legacy-fabric-networking-api-v1/build.gradle

This file was deleted.

12 changes: 0 additions & 12 deletions 1.7.10/legacy-fabric-registry-sync-api-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.7.10/legacy-fabric-rendering-api-v1/build.gradle

This file was deleted.

5 changes: 0 additions & 5 deletions 1.7.10/legacy-fabric-resource-loader-v1/build.gradle

This file was deleted.

29 changes: 0 additions & 29 deletions 1.7.10/legacyfabric-api/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion 1.8.9/build.gradle

This file was deleted.

5 changes: 0 additions & 5 deletions 1.8.9/legacy-fabric-api-base/build.gradle

This file was deleted.

8 changes: 0 additions & 8 deletions 1.8.9/legacy-fabric-command-api-v2/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion 1.8.9/legacy-fabric-crash-report-info-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.8.9/legacy-fabric-entity-events-v1/build.gradle

This file was deleted.

5 changes: 0 additions & 5 deletions 1.8.9/legacy-fabric-item-groups-v1/build.gradle

This file was deleted.

8 changes: 0 additions & 8 deletions 1.8.9/legacy-fabric-keybindings-api-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.8.9/legacy-fabric-lifecycle-events-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.8.9/legacy-fabric-networking-api-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.8.9/legacy-fabric-permissions-api-v1/build.gradle

This file was deleted.

9 changes: 0 additions & 9 deletions 1.8.9/legacy-fabric-registry-sync-api-v1/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions 1.8.9/legacy-fabric-rendering-api-v1/build.gradle

This file was deleted.

Loading

0 comments on commit 450251e

Please sign in to comment.