Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/codeyl.yml → .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ jobs:
with:
fetch-depth: 0

- name: Set up Java (for Java scans)
- name: Setup Android SDK (for Android scans)
if: matrix.language == 'java'
uses: android-actions/setup-android@v3

- name: Set up Java (for Java/Android scans)
if: matrix.language == 'java'
uses: actions/setup-java@v4
with:
Expand All @@ -57,12 +61,12 @@ jobs:
run: |
echo "Building for language: ${{ matrix.language }}"
if [ "${{ matrix.language }}" = "java" ]; then
chmod +x ./gradlew || true
./gradlew assembleDebug --no-daemon || true
chmod +x ./gradlew
./gradlew assembleDebug --no-daemon
elif [ "${{ matrix.language }}" = "javascript" ]; then
if [ -f package.json ]; then
npm ci || true
npm run build || true
npm ci
npm run build
fi
else
echo "No explicit build for language: ${{ matrix.language }}"
Expand Down
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Gradle
.gradle/
build/

# Android
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

It's a standard practice in Android projects to ignore the local.properties file, as it contains machine-specific configurations like the path to the Android SDK. Please add it to this section to prevent it from being accidentally committed.

# Android
local.properties

app/build/
*.apk
*.aar
*.ap_

# IDE
.idea/
*.iml
.vscode/

# Logs
*.log
.quantum_logs/

# Agent/Temp
cortex_report.json
gradlew.bak
gradlew.txt.bak
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Root build.gradle.kts
plugins {
id("com.android.application") version "8.2.2" apply true
id("com.android.library") version "8.2.2" apply true
id("org.jetbrains.kotlin.android") version "1.9.22" apply true
id("com.android.application") version "8.2.2" apply false
id("com.android.library") version "8.2.2" apply false
id("org.jetbrains.kotlin.android") version "1.9.22" apply false
}

tasks.register("clean", Delete::class) {
Expand Down
File renamed without changes.
84 changes: 0 additions & 84 deletions gradlew.txt.bak

This file was deleted.

Loading