Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
Codenarc integration
Browse files Browse the repository at this point in the history
Using Codenarc v3.1.0

Config Codenarc with Rules
  • Loading branch information
rainboyan committed Sep 27, 2022
1 parent b2861a4 commit 5ae4e99
Show file tree
Hide file tree
Showing 2 changed files with 451 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ subprojects {
apply plugin: 'idea'
apply plugin: 'java-library'
apply plugin: 'checkstyle'
apply plugin: 'codenarc'

sourceCompatibility = "1.8"
targetCompatibility = "1.8"
Expand Down Expand Up @@ -120,6 +121,11 @@ subprojects {
toolVersion = "10.3.2"
configDirectory.set(rootProject.file("gradle/checkstyle"))
}

codenarc {
toolVersion = '3.1.0'
setConfigFile(new File("$rootDir/gradle/codenarc/codenarc.groovy"))
}
}

apply from: "${commonBuild}/common-docs.gradle"
Expand Down
Loading

0 comments on commit 5ae4e99

Please sign in to comment.