removing SolarCloud code

This commit is contained in:
Speiger 2022-04-19 17:16:53 +02:00
parent 33ab7c48bf
commit 4d3eaaf604
2 changed files with 0 additions and 49 deletions

View File

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

View File

@ -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';