mirror of
https://github.com/ViaVersion/ViaRewind-Legacy-Support.git
synced 2025-01-07 18:58:13 +01:00
Sync various build script changes from VR
This commit is contained in:
parent
2e6acfaf04
commit
6b495ebb20
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1,2 +1,2 @@
|
|||||||
github: FlorianMichael
|
github: FlorianMichael
|
||||||
custom: ['https://florianmichael.de/donate', 'https://viaversion.com/donate', 'https://creeper123123321.github.io/#donate']
|
custom: ['https://florianmichael.de/donate', 'https://creeper123123321.github.io/#donate']
|
10
.github/dependabot.yml
vendored
Normal file
10
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "gradle"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: ViaRewind-Legacy-Support CI
|
name: Build
|
||||||
on: [pull_request, push, workflow_dispatch]
|
on: [pull_request, push, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -7,22 +7,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Validate Gradle Wrapper
|
with:
|
||||||
uses: gradle/wrapper-validation-action@v1
|
persist-credentials: false
|
||||||
|
- name: Set up Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v4
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: Cache Dependencies
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.gradle/caches
|
|
||||||
~/.gradle/wrapper
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -12,8 +12,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Validate Gradle Wrapper
|
with:
|
||||||
uses: gradle/wrapper-validation-action@v1
|
persist-credentials: false
|
||||||
|
- name: Set up Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v4
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
|
@ -16,8 +16,10 @@ repositories {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
base {
|
||||||
version = project.maven_version
|
version = project.maven_version
|
||||||
group = project.maven_group
|
group = project.maven_group
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "com.viaversion:viaversion-api:4.10.0"
|
compileOnly "com.viaversion:viaversion-api:4.10.0"
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
org.gradle.jvmargs=-Xmx8G
|
org.gradle.jvmargs=-Xmx8G
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
|
||||||
|
|
||||||
# project
|
# project
|
||||||
maven_version=1.5.2-SNAPSHOT
|
|
||||||
maven_group=com.viaversion
|
maven_group=com.viaversion
|
||||||
|
maven_version=1.5.2-SNAPSHOT
|
||||||
|
|
||||||
mcVersionRange=1.8-1.21
|
# Smile emoji
|
||||||
|
mcVersionRange=1.8-1.21.4
|
Loading…
Reference in New Issue
Block a user