Fix inspectSourceDistribution task assertions
Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/20befa47 Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/20befa47 Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/20befa47 Branch: refs/heads/yeoman-work Commit: 20befa47529bad6b4c4f89704c121e562f36a452 Parents: d5d753f Author: Paul Merlin <[email protected]> Authored: Thu May 18 08:42:37 2017 +0200 Committer: Paul Merlin <[email protected]> Committed: Thu May 18 08:42:37 2017 +0200 ---------------------------------------------------------------------- .../gradle/structure/distributions/DistributionsPlugin.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/polygene-java/blob/20befa47/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy ---------------------------------------------------------------------- diff --git a/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy b/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy index 3425d70..2a1ea16 100644 --- a/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy +++ b/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy @@ -305,7 +305,8 @@ class DistributionsPlugin implements Plugin<Project> assertFileAbsent 'gradlew' assertFileAbsent 'gradlew.bat' assertFileAbsent 'gradle/wrapper/gradle-wrapper.jar' - assertFilePresent 'gradle/wrapper/gradle-wrapper.properties' + assertFileAbsent 'gradle/wrapper/gradle-wrapper.properties' + assertFilePresent 'gradle/wrapper-install/build.gradle' } } project.tasks.create( TaskNames.BUILD_SOURCE_DIST, ExecLogged, { ExecLogged task ->
