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

Limit spotless checks to java classes in expected java dirs #1490

Merged
merged 2 commits into from
May 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ allprojects {
java {
// This path needs to be relative to each project
target fileTree('.') {
include '**/*.java'
include '**/src/*/java/**/*.java'
exclude '**/generalstate/GeneralStateReferenceTest*.java'
exclude '**/generalstate/GeneralStateRegressionReferenceTest*.java'
exclude '**/blockchain/BlockchainReferenceTest*.java'
Expand All @@ -128,7 +128,7 @@ allprojects {

// Below this line are currently only license header tasks
format 'groovy', {
target '**/*.groovy'
target '**/src/*/grovy/**/*.groovy'
licenseHeaderFile "${rootDir}/gradle/spotless.java.license", 'import'
}

Expand Down