Skip to content

Commit

Permalink
Merge branch 'gluonhq:master' into issue-120
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Loeffler authored Mar 27, 2024
2 parents 1d60439 + 582a5a6 commit d3f473f
Show file tree
Hide file tree
Showing 15 changed files with 582 additions and 69 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# EditorConfig is awesome: https://EditorConfig.org
root = true

[*.java]
indent_style = space
indent_size = 4

[*.fxml]
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2

[pom.xml]
indent_style = space
indent_size = 4

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:

env:
JAVA_VERSION: '21'
JAVA_VERSION: '22'

jobs:
verify:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bundles-kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
required: true
type: string
java-version:
default: '21.0.1'
default: '22'
required: false
type: string

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bundles-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:
required: true
type: string
java-version:
default: '21.0.1'
default: '22'
required: false
type: string
javafx-version:
default: '21.0.1'
default: '22'
required: false
type: string
test:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bundles-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:
required: true
type: string
java-version:
default: '21.0.1'
default: '22'
required: false
type: string
javafx-version:
default: '21.0.1'
default: '22'
required: false
type: string
test:
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/bundles-mac_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:
required: true
type: string
java-version:
default: '21.0.1'
default: '22'
required: false
type: string
javafx-version:
default: '21.0.1'
default: '22'
required: false
type: string
test:
Expand All @@ -37,9 +37,7 @@ on:
jobs:
build:
name: macOS on M1
runs-on: [macOS, ARM64]
env:
KEYCHAIN: job-${{ github.job }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
runs-on: macos-14
steps:
- uses: actions/checkout@v2

Expand All @@ -51,13 +49,11 @@ jobs:

- uses: Apple-Actions/import-codesign-certs@v1
with:
keychain: ${{ env.KEYCHAIN }}
p12-file-base64: ${{ secrets.CERTIFICATES_FILE_BASE64 }}
p12-password: ${{ secrets.CERTIFICATES_PASSWORD }}

- name: Setup JavaFX
run: |
rm -rf /tmp/javafx-jmods-${{ inputs.javafx-version }}
wget -P /tmp https://download2.gluonhq.com/openjfx/${{ inputs.javafx-version }}/openjfx-${{ inputs.javafx-version }}_osx-aarch64_bin-jmods.zip
unzip /tmp/openjfx-${{ inputs.javafx-version }}_osx-aarch64_bin-jmods.zip -d /tmp
Expand Down Expand Up @@ -118,7 +114,3 @@ jobs:
with:
name: artifacts
path: ${{ steps.outputfile.outputs.path }}

- name: Delete keychain
run: |
security delete-keychain "${{ env.KEYCHAIN }}".keychain
4 changes: 2 additions & 2 deletions .github/workflows/bundles-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:
required: true
type: string
java-version:
default: '21.0.1'
default: '22'
required: false
type: string
javafx-version:
default: '21.0.1'
default: '22'
required: false
type: string
test:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches: [ master ]

env:
JAVAFX_VERSION: '21.0.1'
JAVA_VERSION: '21'
JAVAFX_VERSION: '22'
JAVA_VERSION: '22'

jobs:
precheck:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
- GA

env:
JAVAFX_VERSION: '21.0.1'
JAVA_VERSION: '21'
JAVAFX_VERSION: '22'
JAVA_VERSION: '22'

jobs:
precheck:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ There will be a report for each sub-project, one for `app` and one for `kit`.
* Kit: `kit/target/site/checkstyle.html`
* App: `app/target/site/checkstyle.html`

This project makes use of [EditorConfig](https://editorconfig.org/) which is [directly supported](https://editorconfig.org/#pre-installed) by IntelliJ IDEA. There are plugins for NetBeans, Eclipse and Visual Studio and [more](https://editorconfig.org/#download). EditorConfig ensures via configuration in `.editorconfig` file, that the proper indentation is used.
2 changes: 1 addition & 1 deletion app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.gluonhq.scenebuilder</groupId>
<artifactId>parent</artifactId>
<version>21.0.2-SNAPSHOT</version>
<version>22.0.1-SNAPSHOT</version>
</parent>

<properties>
Expand Down
Loading

0 comments on commit d3f473f

Please sign in to comment.