Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v5.2.0
with:
java-version: 21.0.11
distribution: 'temurin'
cache: gradle
- name: Configure Git
run: |
git config --global user.email "actions@github.com"
git config --global user.name "Github Actions"
git config --global gc.auto 0
git config --global maintenance.auto false
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Apply patches
run: ./gradlew applyAllPatches
run: ./gradlew applyAllPatches --no-daemon
- name: Generate Paperclip Jar
run: ./gradlew createMojmapPaperclipJar
run: ./gradlew createMojmapPaperclipJar --no-daemon
- name: Upload Paperclip
uses: actions/upload-artifact@v7.0.1
with:
Expand Down
5 changes: 0 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,10 @@ subprojects {
maven(leafMavenPublicUrl)
}

tasks.withType<AbstractArchiveTask>().configureEach {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}
tasks.withType<JavaCompile>().configureEach {
options.encoding = Charsets.UTF_8.name()
options.release = 21
options.isFork = true
options.forkOptions.memoryMaximumSize = "6g"
}
tasks.withType<Javadoc>().configureEach {
options.encoding = Charsets.UTF_8.name()
Expand Down