From 594d85171efb7a9c11ce3884a963f881c9621a8c Mon Sep 17 00:00:00 2001 From: Gregory Brail Date: Tue, 26 Sep 2017 12:44:35 -0700 Subject: [PATCH] Revert "Fix build break from fixing build.gradle." This reverts commit f230d478c00881f6527b9a33fe80aca8155688f4. --- build.gradle | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index a75e2cb23..aba11f3c6 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ sourceSets { } resources { srcDirs 'src', 'toolsrc' - include "**/*.properties" + include "*.properties" } } @@ -39,6 +39,7 @@ sourceSets { } resources { srcDirs "testsrc" + include "*.properties" } } } @@ -222,13 +223,10 @@ checkstyle { distributions { main { contents { - from(sourceSets.main.java) { + from(sourceSets.main.allSource) { exclude 'man' into 'rhino' + project.version + '/src' } - from(sourceSets.main.resources) { - into 'rhino' + project.version + '/src' - } from(javadoc.destinationDir) { into 'rhino' + project.version + '/docs' }