From 4d3eaaf604fe3d5802ba2a0f5f21bdbce7bde850 Mon Sep 17 00:00:00 2001 From: Speiger Date: Tue, 19 Apr 2022 17:16:53 +0200 Subject: [PATCH] removing SolarCloud code --- .github/workflows/codecompare.yml | 38 ------------------------------- build.gradle | 11 --------- 2 files changed, 49 deletions(-) delete mode 100644 .github/workflows/codecompare.yml diff --git a/.github/workflows/codecompare.yml b/.github/workflows/codecompare.yml deleted file mode 100644 index 22620ab9..00000000 --- a/.github/workflows/codecompare.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Build -on: - push: - branches: - - master - pull_request: - types: [opened, synchronize, reopened] -jobs: - build: - name: Code Quality Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - name: Make gradlew executable - run: chmod +x ./gradlew - - name: Cache SonarCloud packages - uses: actions/cache@v1 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - name: Cache Gradle packages - uses: actions/cache@v1 - with: - path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} - restore-keys: ${{ runner.os }}-gradle - - name: Build and analyze - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: ./gradlew build sonarqube --info \ No newline at end of file diff --git a/build.gradle b/build.gradle index 7be76233..2c35148f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,5 @@ plugins { id 'java-library' - id "org.sonarqube" version "3.3" } tasks.withType(JavaCompile) { @@ -18,16 +17,6 @@ repositories { } } - -sonarqube { - properties { - properties["sonar.sources"] += sourceSets.main.allSource.srcDirs - property "sonar.projectKey", "Speiger_Primitive-Collections" - property "sonar.organization", "speiger" - property "sonar.host.url", "https://sonarcloud.io" - } -} - archivesBaseName = 'Primitive Collections' version = '0.6.0';