Skip to content

Commit e2abcbd

Browse files
authored
V1.7.0 (#31)
* #27 - Support Graalvm Community Editions * #28 - Add support for all graalvm build options * #29 - Support custom dockerfile
1 parent c93ea56 commit e2abcbd

70 files changed

Lines changed: 2995 additions & 1889 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.checkstyle

Lines changed: 0 additions & 7 deletions
This file was deleted.

.classpath

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/gradle.yml

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@
77

88
name: Java CI with Gradle
99

10-
on: [push]
11-
# on:
12-
# push:
13-
# branches: [ "master" ]
14-
# pull_request:
15-
# branches: [ "master" ]
10+
on:
11+
push:
12+
workflow_dispatch:
1613

1714
permissions:
1815
contents: read
@@ -23,13 +20,34 @@ jobs:
2320
runs-on: ubuntu-latest
2421

2522
steps:
26-
- uses: actions/checkout@v3
27-
- name: Set up JDK 11
23+
- uses: actions/checkout@v4
24+
- name: Set up JDK 17
2825
uses: actions/setup-java@v3
2926
with:
30-
java-version: '11'
27+
java-version: '17'
3128
distribution: 'temurin'
32-
- name: Build with Gradle
33-
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
29+
cache: gradle
30+
- name: Restore gradle.properties
31+
env:
32+
GRADLE_PROPERTIES: ${{ secrets.GRADLE_PROPERTIES }}
33+
shell: bash
34+
run: |
35+
mkdir -p ~/.gradle/
36+
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
37+
echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties
38+
- name: Restore gpg key
39+
env:
40+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
41+
shell: bash
42+
run: |
43+
mkdir /home/runner/.gnupg
44+
echo -n "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode > /home/runner/.gnupg/secring.gpg
45+
- name: Execute Gradle build
46+
run: ./gradlew clean build --info
47+
- name: Upload test reports
48+
uses: actions/upload-artifact@v4
49+
if: always()
3450
with:
35-
arguments: build
51+
name: test-reports
52+
path: "**/build/reports/*"
53+
retention-days: 5

.github/workflows/samples.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
name: Samples Integration Test
99

10-
on:
11-
push:
10+
on:
1211
workflow_dispatch:
1312

1413
permissions:
@@ -42,16 +41,11 @@ jobs:
4241
run: |
4342
mkdir /home/runner/.gnupg
4443
echo -n "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode > /home/runner/.gnupg/secring.gpg
45-
- name: Execute Gradle build
46-
run: ./gradlew clean build --info
47-
- name: Upload test reports
48-
uses: actions/upload-artifact@v4
49-
if: always()
50-
with:
51-
name: test-reports
52-
path: "**/build/reports/*"
53-
retention-days: 5
54-
- name: Execute Gradle build
55-
run: cd samples/aws-lambda/HelloWorldFunction && ./gradlew clean build --info
56-
- name: Execute Gradle build
57-
run: cd samples/helloworld && ./gradlew clean build --info
44+
- name: Build Plugin
45+
run: ./gradlew clean build
46+
- name: Run Helloworld
47+
run: cd samples/helloworld && ./gradlew clean build
48+
- name: Run Dockerfile
49+
run: cd samples/dockerfile && ./gradlew clean build
50+
- name: Run AWS Lambda Test
51+
run: cd samples/aws-lambda/HelloWorldFunction && ./gradlew clean build

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ hs_err_pid*
2626
/bin/
2727
!gradle-wrapper.jar
2828
/.idea/
29+
30+
!./gradle/wrapper/gradle-wrapper.jar
31+
!./samples/helloworld/gradle/wrapper/gradle-wrapper.jar
32+
!./samples/aws-lambda/HelloWorldFunction/gradle/wrapper/gradle-wrapper.jar
33+
34+
.DS_Store

.project

Lines changed: 0 additions & 23 deletions
This file was deleted.

.settings/org.eclipse.buildship.core.prefs

Lines changed: 0 additions & 13 deletions
This file was deleted.

.settings/org.eclipse.core.resources.prefs

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)