From b162c0bfcbc09dd42d0d6c417a4d3bcf74a01ee5 Mon Sep 17 00:00:00 2001 From: Daniel Biehl <7069968+d-biehl@users.noreply.github.com> Date: Sun, 29 Dec 2024 11:25:39 +0100 Subject: [PATCH 1/4] Update codeql.yml Signed-off-by: Daniel Biehl <7069968+d-biehl@users.noreply.github.com> --- .github/workflows/codeql.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c48afb3f..f217da95 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -73,7 +73,12 @@ jobs: # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality - + - if: matrix.language == 'java-kotlin' + name: Build the code with Gradle + run: ./gradlew buildPlugin + env: + ORG_GRADLE_OPTS: "-Xmx4096m" # Hier setzen Sie die Umgebungsvariable + # If the analyze step fails for one of the languages you are analyzing with # "We were unable to automatically build your code", modify the matrix above # to set the build mode to "manual" for that language. Then modify this step From d9f2cb7b0ee1aade34e4af97cd538bd49e8f5508 Mon Sep 17 00:00:00 2001 From: Daniel Biehl <7069968+d-biehl@users.noreply.github.com> Date: Sun, 29 Dec 2024 11:33:05 +0100 Subject: [PATCH 2/4] Update codeql.yml Signed-off-by: Daniel Biehl <7069968+d-biehl@users.noreply.github.com> --- .github/workflows/codeql.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f217da95..9f26f923 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -57,6 +57,10 @@ jobs: # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages + + env: + ORG_GRADLE_OPTS: "-Xmx4096m" + steps: - name: Checkout repository uses: actions/checkout@v4 @@ -73,12 +77,7 @@ jobs: # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality - - if: matrix.language == 'java-kotlin' - name: Build the code with Gradle - run: ./gradlew buildPlugin - env: - ORG_GRADLE_OPTS: "-Xmx4096m" # Hier setzen Sie die Umgebungsvariable - + # If the analyze step fails for one of the languages you are analyzing with # "We were unable to automatically build your code", modify the matrix above # to set the build mode to "manual" for that language. Then modify this step From 3dab7ec6046a2e54d2d654b12f130de2d7d6b65e Mon Sep 17 00:00:00 2001 From: Daniel Biehl <7069968+d-biehl@users.noreply.github.com> Date: Sun, 29 Dec 2024 11:55:34 +0100 Subject: [PATCH 3/4] Update codeql.yml Signed-off-by: Daniel Biehl <7069968+d-biehl@users.noreply.github.com> --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9f26f923..08dbe214 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -59,7 +59,7 @@ jobs: # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages env: - ORG_GRADLE_OPTS: "-Xmx4096m" + GRADLE_OPTS: "-Xmx4096m" steps: - name: Checkout repository From f54e31a76d8052d08d125c9d2f6f82296261286c Mon Sep 17 00:00:00 2001 From: Daniel Biehl <7069968+d-biehl@users.noreply.github.com> Date: Sun, 29 Dec 2024 12:01:45 +0100 Subject: [PATCH 4/4] Update gradle.properties Signed-off-by: Daniel Biehl <7069968+d-biehl@users.noreply.github.com> --- intellij-client/gradle.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intellij-client/gradle.properties b/intellij-client/gradle.properties index 0dca82ce..c4e3673f 100644 --- a/intellij-client/gradle.properties +++ b/intellij-client/gradle.properties @@ -33,3 +33,5 @@ org.gradle.configuration-cache = true # Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html org.gradle.caching = true + +kotlin.daemon.jvmargs=-Xmx4096m