Skip to content

Create Techousecodeql.yml#16

Open
djtester0013 wants to merge 14 commits into
markspit93:masterfrom
djtester0013:master
Open

Create Techousecodeql.yml#16
djtester0013 wants to merge 14 commits into
markspit93:masterfrom
djtester0013:master

Conversation

@djtester0013

Copy link
Copy Markdown

CodeQL Advanced

@djtester0013

Copy link
Copy Markdown
Author

@djtester0013

- Changed build-mode from 'autobuild' to 'manual' to handle custom dependencies
- Added Java JDK setup for Android Gradle builds
- Added explicit Gradle build steps to compile the project
- Skip tests with -x test flag to focus on compilation for code scanning
Changed from 'gradle build -x test' to 'gradle assembleDebug' which is
the correct command for Android projects. The previous build was failing
because it couldn't find the Android SDK on the CI runner, preventing
CodeQL from analyzing any compiled Java/Kotlin code.

This uses the Gradle wrapper (./gradlew) which is Android-specific
and should compile the project successfully for CodeQL analysis.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant