beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject [beam] branch master updated: Spotless config update to include java files only under src directory
Date Thu, 27 Jun 2019 20:10:43 GMT
This is an automated email from the ASF dual-hosted git repository.

anton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new e6cc73b  Spotless config update to include java files only under src directory
     new c39ba4a  Merge pull request #8954 from akedin/spotless-include-src
e6cc73b is described below

commit e6cc73b0ffc20b0225ad712ddd2d42c4ca257eb1
Author: akedin <kedin@google.com>
AuthorDate: Wed Jun 26 16:20:14 2019 -0700

    Spotless config update to include java files only under src directory
---
 .../main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy   | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 725880f..aa16673 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -816,13 +816,8 @@ class BeamModulePlugin implements Plugin<Project> {
           project.sourceSets.each { sourceSet ->
             targetFiles += sourceSet.allJava
           }
-          target targetFiles.matching {
-            include '**/*.java'
-            exclude '**/archetype-resources/src/**'
-            exclude '**/build/generated/**'
-            exclude '**/build/generated-src/**'
-            exclude '**/build/generated-*-avro-*/**'
-          }
+
+          target targetFiles.matching { include 'src/*/java/**/*.java' }
         }
       }
 


Mime
View raw message