Skip to content

Commit

Permalink
Add .lgtm.yml to control how Gradle is built by LGTM.com
Browse files Browse the repository at this point in the history
LGTM.com passively executes the Gradle/Gradle build to do CodeQL database building.
This file allows us to control how that is built
  • Loading branch information
JLLeitschuh committed Oct 15, 2020
1 parent fc7ea24 commit 7682ca3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

[*.yml]
indent_size = 2

[gradle/verification-metadata.xml]
indent_size = 3
9 changes: 9 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This is used to configure the LGTM.com website's build of Gradle/Gradle
# This happens passively without any explict configuration against our repository.
# See: https://lgtm.com/projects/g/gradle/gradle

extraction:
java:
index:
java_version: "11"
build_command: ./gradlew --init-script .github/workflows/codeql-analysis.init.gradle -S -Dorg.gradle.java.home=/usr/lib/jvm/java-11-openjdk-amd64 --max-workers=1 --no-scan testClasses

0 comments on commit 7682ca3

Please sign in to comment.