remove sonarqube part
This commit is contained in:
Родитель
fa9d4f299b
Коммит
5fbdbfe0e0
|
@ -56,7 +56,7 @@ jobs:
|
|||
- name: Build & Analyse
|
||||
uses: eskatos/gradle-command-action@v1
|
||||
with:
|
||||
arguments: gradle-server:build sonarqube -x :test -x extension:test -x npm-package:test
|
||||
arguments: gradle-server:build -x :test -x extension:test -x npm-package:test
|
||||
wrapper-cache-enabled: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_SONARCLOUD_TOKEN }}
|
||||
|
|
11
build.gradle
11
build.gradle
|
@ -1,7 +1,6 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'com.google.protobuf' version '0.8.13'
|
||||
id 'org.sonarqube' version '3.0'
|
||||
id 'com.github.jlouns.cpe' version '0.5.0'
|
||||
id 'com.diffplug.spotless' version '5.7.0'
|
||||
}
|
||||
|
@ -11,16 +10,6 @@ project.ext.set('protobufVersion', '3.12.0')
|
|||
project.ext.set('protocVersion', project.protobufVersion)
|
||||
project.ext.set('gradlingToolingApi', '6.4')
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property "sonar.projectKey", "badsyntax_vscode-gradle"
|
||||
property "sonar.organization", "badsyntax"
|
||||
property "sonar.host.url", "https://sonarcloud.io"
|
||||
property "sonar.login", System.env.SONAR_TOKEN
|
||||
property "sonar.github.oauth", System.env.GITHUB_TOKEN
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
group = 'vscode-gradle'
|
||||
}
|
||||
|
|
|
@ -59,16 +59,6 @@ protobuf {
|
|||
}
|
||||
}
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property "sonar.projectKey", "extension"
|
||||
property "sonar.projectName", "Extension"
|
||||
property "sonar.language", "typescript"
|
||||
property "sonar.sources", "src"
|
||||
property "sonar.typescript.tsconfigPath", "tsconfig.json"
|
||||
}
|
||||
}
|
||||
|
||||
test.enabled = false;
|
||||
jar.enabled = false;
|
||||
compileJava.enabled = false
|
||||
|
|
|
@ -93,17 +93,6 @@ distTar.enabled = false
|
|||
shadowDistZip.enabled = false;
|
||||
shadowDistTar.enabled = false;
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property "sonar.projectKey", "gradle-server"
|
||||
property "sonar.projectName", "Tasks Server"
|
||||
property "sonar.language", "java"
|
||||
property "sonar.java.binaries", "build/classes/java"
|
||||
property "sonar.junit.reportsPath", "build/test-results"
|
||||
property "sonar.jacoco.reportPath", "build/jacoco/test.exec"
|
||||
}
|
||||
}
|
||||
|
||||
spotless {
|
||||
java {
|
||||
googleJavaFormat()
|
||||
|
|
Загрузка…
Ссылка в новой задаче