Skip to content

Commit c878569

Browse files
adjusted to jextract@jdk22
1 parent d403418 commit c878569

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ jobs:
77
runs-on: ubuntu-latest
88
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313
- uses: actions/setup-java@v3
1414
with:
15-
java-version: 17
15+
java-version: 21
1616
distribution: temurin
1717
cache: 'maven'
1818
gpg-private-key: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/setup-java@v3
2929
if: startsWith(github.ref, 'refs/tags/')
3030
with:
31-
java-version: 17
31+
java-version: 21
3232
distribution: temurin
3333
cache: 'maven'
3434
server-id: ossrh

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>io.github.coffeelibs</groupId>
55
<artifactId>jextract-maven-plugin</artifactId>
66
<packaging>maven-plugin</packaging>
7-
<version>0.3.0</version>
7+
<version>0.4.0</version>
88
<name>jextract Maven Plugin</name>
99
<description>A Maven plugin to invokes jextract.</description>
1010
<inceptionYear>2022</inceptionYear>

src/main/java/io/github/coffeelibs/maven/jextract/SourcesMojo.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ public void execute() throws MojoFailureException {
153153

154154
List<String> args = new ArrayList<>();
155155
args.add(executable);
156-
args.add("--source");
157156
if (headerClassName != null) {
158157
args.add("--header-class-name");
159158
args.add(headerClassName);

0 commit comments

Comments
 (0)