Codeql implementation in kotlin

#. while trying to implement codeql with kotlin springboot project that time I am getting “No code found during the code build” error. I have configured codeql.yml file below

name: “CodeQL”
on:
push:
branches: [ task/workflows, release/, master ]
pull_request:
branches: [ release/
, master]

jobs:
analyze:
name: Analyze
runs-on: [self-hosted,X64,Linux,shared-apps,tfecommerce-shared-runner-group-3]
permissions:
actions: read
contents: read
security-events: write

strategy:
  fail-fast: false
  matrix:
    language: [ 'java' ]
    # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
    # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
  - name: Checkout repository
    uses: actions/checkout@v3

  # Initializes the CodeQL tools for scanning.
  - name: Initialize CodeQL
    uses: github/codeql-action/init@v2.1.28
    with:
      languages: ${{ matrix.language }}

  - name: Build
    uses: actions/checkout@v2

  - name: Set up JDK 18
    uses: actions/setup-java@v1
    with:
      java-version: 18

  - name: Grant execute permission for gradlew
    run: chmod +x gradlew

  - name: Check Java version
    run: java -version

  - name: Build with Gradle
    run: ./gradlew build

  - name: Perform CodeQL Analysis
    uses: github/codeql-action/analyze@v2

have you had time to look into this issue

Hey! were you able to resolve this?

Yes

Can you help me understand what you did exactly? I am facing similar situation, any insight would be really helpful :smiley: