Skip to content

Commit

Permalink
feat: support 1.21.3 and worn items
Browse files Browse the repository at this point in the history
  • Loading branch information
xCykrix committed Nov 11, 2024
1 parent e0f0b4e commit 27653aa
Show file tree
Hide file tree
Showing 33 changed files with 1,346 additions and 2,031 deletions.
18 changes: 18 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "java-gradle",
"image": "mcr.microsoft.com/devcontainers/java:21-bookworm",
"customizations": {
"vscode": {
"settings": {}
}
},
"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "21",
"jdkDistro": "tem",
"installMaven": "true",
"installGradle": "true",
"gradleVersion": "8.11"
}
}
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
54 changes: 27 additions & 27 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: "Java Continuous Integration"

on:
push:
branches: [main, staging]
pull_request:
branches: [main, staging]

jobs:
validate:
runs-on: ubuntu-latest

name: Java Gradle Build
steps:
- uses: actions/checkout@v3
- name: Set up JDK 22
uses: actions/setup-java@v3
with:
java-version: '22'
distribution: 'adopt'
architecture: x64
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Compile
run: ./gradlew shadowJar
env:
GITHUB_ACTOR: ${{ secrets.GH_USERNAME }}
name: "Java Continuous Integration"

on:
push:
branches: [main, staging]
pull_request:
branches: [main, staging]

jobs:
validate:
runs-on: ubuntu-latest

name: Java Gradle Build
steps:
- uses: actions/checkout@v3
- name: Set up JDK 22
uses: actions/setup-java@v3
with:
java-version: '22'
distribution: 'adopt'
architecture: x64
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Compile
run: ./gradlew shadowJar
env:
GITHUB_ACTOR: ${{ secrets.GH_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
Loading

0 comments on commit 27653aa

Please sign in to comment.