This commit is contained in:
Shi Chen 2021-07-30 11:03:48 +08:00
Родитель fa9d4f299b
Коммит 5fbdbfe0e0
4 изменённых файлов: 1 добавлений и 33 удалений

2
.github/workflows/main.yml поставляемый
Просмотреть файл

@ -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 }}

Просмотреть файл

@ -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()