Skip to content

Commit

Permalink
Merge pull request #9 from dariuszzbyrad/bump-dependencies
Browse files Browse the repository at this point in the history
Bump Dependencies (Plugins, pi4j, Java)
  • Loading branch information
FDelporte authored Oct 19, 2024
2 parents 85c411e + bc7b2f8 commit f084a5c
Show file tree
Hide file tree
Showing 9 changed files with 210 additions and 152 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,29 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build

- name: Make staging directory
run: mkdir staging

- name: Copy JAR to staging
run: cp build/distribution/* staging
run: cp build/distribution/* staging

- name: Upload
uses: actions/upload-artifact@v2
with:
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,26 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Make staging directory
run: mkdir staging

- name: Copy JAR to staging
run: cp target/distribution/* staging
run: cp target/distribution/* staging

- name: Upload
uses: actions/upload-artifact@v2
with:
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ repositories {
}

dependencies {
implementation 'org.slf4j:slf4j-api:2.0.12'
implementation 'org.slf4j:slf4j-simple:2.0.12'
implementation 'com.pi4j:pi4j-core:2.6.0'
implementation 'com.pi4j:pi4j-plugin-raspberrypi:2.6.0'
implementation 'com.pi4j:pi4j-plugin-gpiod:2.6.0'
implementation 'org.slf4j:slf4j-api:2.0.16'
implementation 'org.slf4j:slf4j-simple:2.0.16'
implementation 'com.pi4j:pi4j-core:2.7.0'
implementation 'com.pi4j:pi4j-plugin-raspberrypi:2.7.0'
implementation 'com.pi4j:pi4j-plugin-gpiod:2.7.0'
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 2 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Wed Aug 12 21:39:50 CEST 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit f084a5c

Please sign in to comment.