Skip to content

Commit 7b5536b

Browse files
committed
Update CodeQL workflow and Gradle properties
- Enable ignoring disabled targets for Kotlin Native. - Refine CodeQL build command to specify module targets and rerun tasks.
1 parent 6ed17ae commit 7b5536b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,14 @@ jobs:
5454

5555
- name: Build Kotlin sources
5656
run: |
57-
./gradlew
58-
jvmMainClasses \
59-
jvmTestClasses \
57+
./gradlew \
58+
:kotlin-sdk-core:compileKotlinJvm \
59+
:kotlin-sdk-client:compileKotlinJvm \
60+
:kotlin-sdk-server:compileKotlinJvm \
61+
:kotlin-sdk:compileKotlinJvm \
62+
:kotlin-sdk-test:compileKotlinJvm \
6063
-Pkotlin.incremental=false \
61-
--no-daemon --stacktrace
64+
--no-daemon --stacktrace --rerun-tasks
6265
6366
- name: Analyze
6467
uses: github/codeql-action/analyze@v3

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ kotlin.code.style=official
99
kotlin.daemon.jvmargs=-Xmx4G
1010
# MPP
1111
kotlin.mpp.enableCInteropCommonization=true
12+
kotlin.native.ignoreDisabledTargets=true

0 commit comments

Comments
 (0)