Remove checkstyle from gradle.

This commit is contained in:
Jeremy Wood 2023-09-06 18:01:13 -04:00
parent 5f9a002a07
commit fa6a01d690
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B
2 changed files with 2 additions and 10 deletions

View File

@ -59,7 +59,7 @@ jobs:
- name: Build and test - name: Build and test
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v2
with: with:
arguments: clean build -x assemble -x shadowJar -x checkStyleMain -x checkStyleTest arguments: clean build -x assemble -x shadowJar
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -76,7 +76,7 @@ jobs:
if: steps.release.outputs.release_created == 'true' if: steps.release.outputs.release_created == 'true'
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v2
with: with:
arguments: publish -x checkStyleMain -x checkStyleTest -x test arguments: publish -x test
env: env:
GITHUB_VERSION: ${{ steps.release.outputs.publish_version }} GITHUB_VERSION: ${{ steps.release.outputs.publish_version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -3,7 +3,6 @@ import org.apache.tools.ant.filters.ReplaceTokens
plugins { plugins {
id 'java-library' id 'java-library'
id 'maven-publish' id 'maven-publish'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '7.1.2' id 'com.github.johnrengelman.shadow' version '7.1.2'
} }
@ -160,13 +159,6 @@ processResources {
} }
checkstyle {
toolVersion = '10.12.2'
configFile file('config/mv_checks.xml')
ignoreFailures = true
}
javadoc { javadoc {
source = sourceSets.main.allJava source = sourceSets.main.allJava
classpath = configurations.compileClasspath classpath = configurations.compileClasspath