Merge pull request #2995 from Multiverse/dtm/no_gradle_checkstyle

Remove checkstyle from gradle.
This commit is contained in:
Ben Woo 2023-09-07 09:22:20 +08:00 committed by GitHub
commit ff88b30959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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