Skip to content

Commit

Permalink
Merge branch '1.20.1' into beans/seed-oil
Browse files Browse the repository at this point in the history
  • Loading branch information
JuiceyBeans authored Sep 28, 2024
2 parents 1236588 + 41283f3 commit eaedd3e
Show file tree
Hide file tree
Showing 5 changed files with 218 additions and 38 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/clean.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Clean Gradle

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Setup Build
uses: ./.github/actions/build_setup
with:
update-cache: true

- name: Clean
run: ./gradlew clean --build-cache
39 changes: 39 additions & 0 deletions .github/workflows/manage-pr-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Manages labels on PRs before allowing merging
name: Pull Request Labels

on:
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize

# if a second commit is pushed quickly after the first, cancel the first one's build
concurrency:
group: pr-labels-${{ github.head_ref }}
cancel-in-progress: true

jobs:
Labels:
runs-on: ubuntu-latest

permissions:
pull-requests: read # needed to utilize required-labels

steps:
- name: Check for Merge-Blocking Labels # blocks merge if present
uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 0
labels: 'status: do not merge'
exit_type: failure

- name: Check for Required Labels # require at least one of these labels
uses: mheap/github-action-required-labels@v5
with:
mode: minimum
count: 1
labels: 'type: feature, type: bug, type: refactor, type: translation, ignore changelog'
exit_type: failure
45 changes: 33 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,39 @@
<a href="https://github.com/GregTechCEu/GregTech-Modern/releases"><img src="https://img.shields.io/github/downloads/GregTechCEu/GregTech-Modern/total?sort=semver&logo=github&label=&style=for-the-badge&color=2d2d2d&labelColor=545454&logoColor=FFFFFF" alt="GitHub"></a>
</h1>

## Documentation / Wiki
[`Wiki`](https://gregtechceu.github.io/gtceu-modern-docs/)


## Dev Q&A
* [Todo List](https://github.com/GregTechCEu/GregTechCEu-1.19/issues/125) for potential contributors who are interested in this project
* [Dev Q&A](https://github.com/GregTechCEu/GregTechCEu-1.19/wiki/Dev-Q&A) illustrates common questions and answers related to development.

##
## IDE Requirements (when using IntelliJ IDEA)

For developing this mod, the [Lombok plugin](https://plugins.jetbrains.com/plugin/6317-lombok) for IntelliJ IDEA is strictly required.
### [Wiki](https://gregtechceu.github.io/gtceu-modern-docs/)

## Developers

To add GTCEu: Modern (GTM) to your project as a dependency, add the following to your `build.gradle`:
```groovy
repositories {
maven {
name = 'GTCEu Maven'
url = 'https://maven.gtceu.com'
content {
includeGroup 'com.gregtechceu.gtceu'
}
}
}
```
Then, you can add it as a dependency, with `${mc_version}` being your Minecraft version target and `${gtm_version}` being the version of GTM you want to use.
```groovy
dependencies {
// Forge (see below block as well if you use Forge Gradle)
implementation fg.deobf("com.gregtechceu.gtceu:gtceu-${mc_version}:${gtm_version}")
// NeoForge
implementation "com.gregtechceu.gtceu:gtceu-${mc_version}:${gtm_version}"
// Architectury
modImplementation "com.gregtechceu.gtceu:gtceu-${mc_version}:${gtm_version}"
}
```

### IDE Requirements (when using IntelliJ IDEA)

For contributing to this mod, the [Lombok plugin](https://plugins.jetbrains.com/plugin/6317-lombok) for IntelliJ IDEA is strictly required.
Additionally, the [Minecraft Development plugin](https://plugins.jetbrains.com/plugin/8327-minecraft-development) is recommended.


Expand Down
Loading

0 comments on commit eaedd3e

Please sign in to comment.