mrutkows closed pull request #733: Enable Apache Rat plugin in gradle URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/733
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/build.gradle b/build.gradle index d32b8c75..99b4e3d3 100644 --- a/build.gradle +++ b/build.gradle @@ -20,6 +20,29 @@ ext.dockerContainerName = "wskdeploy" ext.dockerBuildArgs = getDockerBuildArgs() apply from: 'gradle/docker.gradle' +buildscript { + repositories { + maven { + url "https://plugins.gradle.org/m2/" + } + } + dependencies { + classpath "gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.3.1" + } +} + +apply plugin: "org.nosphere.apache.rat" + +rat { + excludes += [ + 'Godeps/*', + '.gradletasknamecache', 'gradle/wrapper/**', 'gradlew*', 'build/**', // Gradle + '.gitignore', '.rat-excludes', + 'i18n_resources.go', + '**/*.json','wski18n/resources/*' + ] +} + project.ext { basePackageName = "openwhisk-wskdeploy" packageExtension = "tar.gz" ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services