mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-27 13:38:34 +01:00
Compare commits
4 commits
e7cbb445c5
...
4f3beab0f4
Author | SHA1 | Date | |
---|---|---|---|
4f3beab0f4 | |||
94717ade1b | |||
a1d22f7fd2 | |||
84523a06d4 |
3 changed files with 28 additions and 42 deletions
28
.github/workflows/main.yml
vendored
Normal file
28
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '17'
|
||||||
|
distribution: 'temurin'
|
||||||
|
- name: Cache
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.gradle/caches
|
||||||
|
~/.gradle/wrapper
|
||||||
|
key: ${{ hashFiles('**/build.gradle', '**/gradle-wrapper.properties') }}
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
chmod +x ./gradlew
|
||||||
|
./gradlew build --no-daemon
|
||||||
|
- name: Upload
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: Mod Jar
|
||||||
|
path: build/libs/**.jar
|
|
@ -1,18 +0,0 @@
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: eclipse-temurin:17-jdk
|
|
||||||
commands:
|
|
||||||
- chmod +x ./gradlew
|
|
||||||
- ./gradlew build --no-daemon
|
|
||||||
maven-publish:
|
|
||||||
image: eclipse-temurin:17-jdk
|
|
||||||
when:
|
|
||||||
event: [push, manual]
|
|
||||||
branch: main
|
|
||||||
commands:
|
|
||||||
- chmod +x ./gradlew
|
|
||||||
- ./gradlew publish --no-daemon
|
|
||||||
environment:
|
|
||||||
- LOCAL_MAVEN=/var/www/maven
|
|
||||||
volumes:
|
|
||||||
- /var/www/maven:/var/www/maven
|
|
24
README.md
24
README.md
|
@ -1,27 +1,3 @@
|
||||||
# NaturesAura
|
# NaturesAura
|
||||||
|
|
||||||
Nature's Aura is a mod about collecting, using and replenishing the Aura
|
Nature's Aura is a mod about collecting, using and replenishing the Aura
|
||||||
naturally present in the level to create useful devices and unique mechanics.
|
naturally present in the level to create useful devices and unique mechanics.
|
||||||
|
|
||||||
## Maven
|
|
||||||
|
|
||||||
To add this project as a dependency (for using
|
|
||||||
the [API](https://github.com/Ellpeck/NaturesAura/tree/main/src/main/java/de/ellpeck/naturesaura/api)
|
|
||||||
, for example), put this into your `build.gradle` file:
|
|
||||||
|
|
||||||
```
|
|
||||||
repositories {
|
|
||||||
maven {
|
|
||||||
url = "https://maven.ellpeck.de"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compile "de.ellpeck.naturesaura:NaturesAura:VERSION"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Replace VERSION with the version you want to use. You can find a list of
|
|
||||||
versions by going to
|
|
||||||
the [maven artifact](https://maven.ellpeck.de/de/ellpeck/naturesaura/NaturesAura/)
|
|
||||||
.
|
|
Loading…
Reference in a new issue