Skip to content

Commit

Permalink
let's give gradle what it wants... Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
pschichtel committed Jul 3, 2024
1 parent a363654 commit 9872864
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Setup Gradle
Expand Down
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,32 +124,27 @@ In case you have issues, have a look at the [troubleshooting document](TROUBLESH
For local compilation:

* GCC (or compatible)
* Some version of Java (Gradle will download the correct one if necessary)
* a libc
* Bash
* Java >= 11

For cross compilation:

* Podman or docker and permissions to run containers
* Some version of Java (Gradle will download the correct one if necessary)
* Bash
* Java >= 11

For tests:

* A fairly recent Linux kernel with CAN support
* The can-isotp kernel module loaded (Kernel 5.10 with `CONFIG_CAN_ISOTP` enabled or the [out-of-tree module](https://github.com/hartkopp/can-isotp))
* [can-utils](https://github.com/linux-can/can-utils) installed in the `PATH`
* A CAN interface named "vcan0"
* Some version of Java (Gradle will download the correct one if necessary)
* a libc (unless compiled statically)
* Java >= 11

For usage:

* A fairly recent Linux kernel with CAN support
* For ISOTP channels, the can-isotp kernel module loaded (Kernel 5.10 with `CONFIG_CAN_ISOTP` enabled or the [out-of-tree module](https://github.com/hartkopp/can-isotp))
* Java 8 or newer installed
* Java >= 8
* A few kilobytes of disk space to extract the native components
* a libc (unless compiled statically)


### Building
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
`maven-publish`
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
id("pl.allegro.tech.build.axion-release") version "1.16.1" // this is the last version that supports Java 8
id("pl.allegro.tech.build.axion-release") version "1.17.2"
}

description = "JavaCAN is a binding to Linux' socketcan subsystem that feels native to Java developers."
Expand Down

0 comments on commit 9872864

Please sign in to comment.