diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13f56ffde..b9c2f26b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,11 +29,16 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: matrix: - java: [ 17, 21 ] - name: build with jdk ${{matrix.java}} + os: + - ubuntu-latest + - windows-latest + java: + - 17 + - 21 + runs-on: ${{ matrix.os }} + name: build with jdk ${{matrix.java}} (${{ matrix.os }}) steps: - uses: actions/checkout@v4 @@ -68,7 +73,7 @@ jobs: ## Attach target directories for safe Sonar scan in separate job - name: Attach Build Output - if: matrix.java == '17' + if: ${{ matrix.java == '17' && matrix.os == 'ubuntu-latest' }} uses: actions/upload-artifact@v4 with: name: target diff --git a/tools/gradle-plugin/pom.xml b/tools/gradle-plugin/pom.xml index 95f612b40..118238a85 100644 --- a/tools/gradle-plugin/pom.xml +++ b/tools/gradle-plugin/pom.xml @@ -15,6 +15,7 @@ ./gradlew build + -Xms4096M -Xmx4096M false ${project.artifactId} @@ -44,6 +45,15 @@ + + + + org.codehaus.mojo + exec-maven-plugin + 3.5.0 + + + @@ -115,7 +125,7 @@ ${settings.localRepository} - ${env.MAVEN_OPTS} + ${gradle.opts} ${skip.gradle.build} @@ -234,7 +244,7 @@ ${settings.localRepository} - ${env.MAVEN_OPTS} + ${gradle.opts} ${skip.gradle.build} @@ -281,7 +291,7 @@ ${settings.localRepository} - ${env.MAVEN_OPTS} + ${gradle.opts} ${skip.gradle.build}