Skip to content
Open
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
8 changes: 4 additions & 4 deletions .github/workflows/build-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
java-version: 25
- name: Change wrapper permissions
run: chmod +x pi4micronaut-utils/gradlew
- name: Setup Gradle
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '21'
java-version: '25'
distribution: 'temurin'
- name: Change wrapper permissions
run: chmod +x pi4micronaut-utils/gradlew
Expand Down Expand Up @@ -89,10 +89,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '21'
java-version: '25'
distribution: 'temurin'
- name: Change wrapper permissions
run: chmod +x pi4micronaut-utils/gradlew
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '21'
java-version: '25'
distribution: 'temurin'
- name: Change wrapper permissions
run: chmod +x pi4micronaut-utils/gradlew
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/javadoc-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 21
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '21'
java-version: '25'
distribution: 'temurin'
- name: Change wrapper permissions
run: chmod +x pi4micronaut-utils/gradlew
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
![GitHub License](https://img.shields.io/github/license/oss-slu/Pi4Micronaut)
[![Documentation](https://img.shields.io/badge/Documentation-8D021F)](https://oss-slu.github.io/Pi4Micronaut/)


[![Chat on Slack](https://img.shields.io/badge/Chat_on-Slack-4A154B?logo=slack)](https://join.slack.com/t/oswslu/shared_invite/zt-24f0qhjbo-NkSfQ4LOg5wXxBdxP4vzfA)
[![Donate to OSS](https://img.shields.io/badge/Donate_to-OSS-003AA6)](https://oss-slu.github.io/connect_with/donate)
[![Unity Foundation](https://img.shields.io/badge/Unity_Foundation-unityfoundation.io-blue)](https://unityfoundation.io)
Expand All @@ -16,7 +15,7 @@ Pi4Micronaut is an innovative Java library crafted for developers who aim to bui

The existence of Pi4Micronaut is justified by the need for a robust, scalable, and efficient way to bridge the gap between enterprise-grade software and the physical world of hardware. It is particularly valuable for projects that demand both the high-performance, microservices-oriented capabilities of the Micronaut framework and the versatile hardware interaction that the Raspberry Pi offers. Whether it's for home automation, industrial monitoring, or educational purposes, Pi4Micronaut empowers developers to deliver reliable and sophisticated IoT applications that can run headless on a Raspberry Pi or be managed remotely, providing convenience, control, and customization to the end-users.

**Note:** Pi4Micronaut doesn't work with the latest Raspberry Pi 5 because of its whole new architecture. The Pi4J and pigpio libraries doesn't provide support for Pi 5 yet. Look out for the latest version of Pi4J to work with Pi 5 in the future.
**Note:** Pi4Micronaut also works with the latest Raspberry Pi 5, although it has a new GPIO architecture. The Pi4J library V4+ is based on Java 25 and uses the Foreign Function and Memory API to handle the GPIOs, which makes it independent of the Raspberry Pi system and can even be used on other single-board computers.

### Information

Expand Down Expand Up @@ -51,7 +50,6 @@ The existence of Pi4Micronaut is justified by the need for a robust, scalable, a
- **Type:** IoT (Raspberry Pi)
- **License:** [Apache License 2.0](https://opensource.org/license/apache-2-0/)


## Pi4Micronaut
- [Link to Pi4Micronaut Documentation](https://oss-slu.github.io/Pi4Micronaut/)
- [API Reference](https://oss-slu.github.io/Pi4Micronaut/javadoc/index.html)
Expand All @@ -71,7 +69,7 @@ The existence of Pi4Micronaut is justified by the need for a robust, scalable, a
- [Micronaut Guides](https://docs.micronaut.io/latest/guide/index.html)
- [Micronaut HTTP Client documentation](https://docs.micronaut.io/latest/guide/index.html#httpClient)

## Pi4J 2.4.0
## Pi4J 4.0.2
- [Pi4j Documentation](https://pi4j.com/documentation/)

## Shadow Gradle 7.1.2
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'io.micronaut.application' version '4.4.4' apply false
id 'io.micronaut.aot' version '4.4.4' apply false
id 'com.github.johnrengelman.shadow' version '7.1.2' apply false
id 'io.micronaut.application' version '5.0.2' apply false
id 'io.micronaut.aot' version '5.0.2' apply false
id 'com.gradleup.shadow' version '9.6.1' apply false
id("com.netflix.nebula.release") version "20.2.0"
}

Expand Down
17 changes: 12 additions & 5 deletions components/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id("com.github.johnrengelman.shadow") version "7.1.2"
id("com.gradleup.shadow") version "9.6.1"
// id("io.micronaut.application") version "3.7.3"
id("io.micronaut.application") version "4.4.4"
id("io.micronaut.aot") version "4.4.4"
id("io.micronaut.application") version "5.0.2"
id("io.micronaut.aot") version "5.0.2"
}

version = "0.1"
Expand Down Expand Up @@ -30,8 +30,15 @@ application {
mainClass.set("com.opensourcewithslu.components.Application")
}
java {
sourceCompatibility = JavaVersion.toVersion("21")
targetCompatibility = JavaVersion.toVersion("21")
sourceCompatibility = JavaVersion.toVersion("25")
targetCompatibility = JavaVersion.toVersion("25")
}

tasks.named('test') {
useJUnitPlatform()
// The only test class (ComponentsTest) has its @Test annotation commented out, so no tests are
// discovered. Gradle 9 fails a test task that discovers no tests unless this is turned off.
failOnNoDiscoveredTests = false
}

micronaut {
Expand Down
Loading