Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatIntegrationSpec.xml
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatIntegrationSpec.xml?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatIntegrationSpec.xml
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatIntegrationSpec.xml
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuite name="org.apache.rat.gradle.RatIntegrationSpec" tests="4" 
skipped="0" failures="0" errors="0" timestamp="2015-06-29T19:03:41" 
hostname="PCJWI02" time="7.056">
+  <properties/>
+  <testcase name="success" 
classname="org.apache.rat.gradle.RatIntegrationSpec" time="3.303"/>
+  <testcase name="do not fail but report errors when rat.failOnError is false" 
classname="org.apache.rat.gradle.RatIntegrationSpec" time="1.273"/>
+  <testcase name="fail the build when finding a file with unapproved/unknown 
license" classname="org.apache.rat.gradle.RatIntegrationSpec" time="1.219"/>
+  <testcase name="success on custom reportPath" 
classname="org.apache.rat.gradle.RatIntegrationSpec" time="1.261"/>
+  <system-out><![CDATA[Running test from 
C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle\build\test\org.apache.rat.gradle.RatIntegrationSpec\success
+Tooling API is using target Gradle version: 2.4.
+Connected to daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
 Dispatching request Build{id=2eee1d36-ea1b-440c-9130-bb3e55199f5a.1, 
currentDir=C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle}.
+Received result 
Success[value=org.gradle.tooling.internal.provider.BuildActionResult@65808228] 
from daemon DaemonInfo{pid=4600, address=[5c53363a-d507-4659-b1a2-1dffa50647f1 
port:52609, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
+Running test from 
C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle\build\test\org.apache.rat.gradle.RatIntegrationSpec\do-not-fail-but-report-errors-when-rat-failOnError-is-false
+Tooling API is using target Gradle version: 2.4.
+Connected to daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
 Dispatching request Build{id=d0d10a7f-430a-4dfc-9116-32dcf056d8c2.1, 
currentDir=C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle}.
+Received result 
Success[value=org.gradle.tooling.internal.provider.BuildActionResult@5ea1a89c] 
from daemon DaemonInfo{pid=4600, address=[5c53363a-d507-4659-b1a2-1dffa50647f1 
port:52609, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
+Running test from 
C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle\build\test\org.apache.rat.gradle.RatIntegrationSpec\fail-the-build-when-finding-a-file-with-unapproved-unknown-license
+Tooling API is using target Gradle version: 2.4.
+Connected to daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
 Dispatching request Build{id=23e9935d-8243-459a-818d-3aee466ab8c0.1, 
currentDir=C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle}.
+Received result 
CommandFailure[value=org.gradle.launcher.exec.ReportedException: 
org.gradle.internal.exceptions.LocationAwareException: Execution failed for 
task ':rat'.] from daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
+Running test from 
C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle\build\test\org.apache.rat.gradle.RatIntegrationSpec\success-on-custom-reportPath
+Tooling API is using target Gradle version: 2.4.
+Connected to daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
 Dispatching request Build{id=c7e8ac4b-f7ed-4d40-9e3c-4529c8b19efe.1, 
currentDir=C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle}.
+Received result 
Success[value=org.gradle.tooling.internal.provider.BuildActionResult@1a80d720] 
from daemon DaemonInfo{pid=4600, address=[5c53363a-d507-4659-b1a2-1dffa50647f1 
port:52609, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
+]]></system-out>
+  <system-err><![CDATA[]]></system-err>
+</testsuite>

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatIntegrationSpec.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatPluginProjectSpec.xml
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatPluginProjectSpec.xml?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatPluginProjectSpec.xml
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatPluginProjectSpec.xml
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuite name="org.apache.rat.gradle.RatPluginProjectSpec" tests="4" 
skipped="0" failures="0" errors="0" timestamp="2015-06-29T19:03:48" 
hostname="PCJWI02" time="1.421">
+  <properties/>
+  <testcase name="apply does not throw exceptions" 
classname="org.apache.rat.gradle.RatPluginProjectSpec" time="1.109"/>
+  <testcase name="apply is idempotent" 
classname="org.apache.rat.gradle.RatPluginProjectSpec" time="0.093"/>
+  <testcase name="apply is fine on all levels of multiproject" 
classname="org.apache.rat.gradle.RatPluginProjectSpec" time="0.091"/>
+  <testcase name="apply to multiple subprojects" 
classname="org.apache.rat.gradle.RatPluginProjectSpec" time="0.126"/>
+  <system-out><![CDATA[]]></system-out>
+  <system-err><![CDATA[]]></system-err>
+</testsuite>

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/TEST-org.apache.rat.gradle.RatPluginProjectSpec.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/output.bin
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/output.bin?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/output.bin
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/output.bin
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,16 @@
+ˆRunning test from 
C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle\build\test\org.apache.rat.gradle.RatIntegrationSpec\success
+0Tooling API is using target Gradle version: 2.4.
+ïConnected to daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
 Dispatching request Build{id=2eee1d36-ea1b-440c-9130-bb3e55199f5a.1, 
currentDir=C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle}.
+»Received result 
Success[value=org.gradle.tooling.internal.provider.BuildActionResult@65808228] 
from daemon DaemonInfo{pid=4600, address=[5c53363a-d507-4659-b1a2-1dffa50647f1 
port:52609, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
+¼Running test from 
C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle\build\test\org.apache.rat.gradle.RatIntegrationSpec\do-not-fail-but-report-errors-when-rat-failOnError-is-false
+0Tooling API is using target Gradle version: 2.4.
+ïConnected to daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
 Dispatching request Build{id=d0d10a7f-430a-4dfc-9116-32dcf056d8c2.1, 
currentDir=C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle}.
+»Received result 
Success[value=org.gradle.tooling.internal.provider.BuildActionResult@5ea1a89c] 
from daemon DaemonInfo{pid=4600, address=[5c53363a-d507-4659-b1a2-1dffa50647f1 
port:52609, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
+ÃRunning test from 
C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle\build\test\org.apache.rat.gradle.RatIntegrationSpec\fail-the-build-when-finding-a-file-with-unapproved-unknown-license
+0Tooling API is using target Gradle version: 2.4.
+ïConnected to daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
 Dispatching request Build{id=23e9935d-8243-459a-818d-3aee466ab8c0.1, 
currentDir=C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle}.
+‡Received result 
CommandFailure[value=org.gradle.launcher.exec.ReportedException: 
org.gradle.internal.exceptions.LocationAwareException: Execution failed for 
task ':rat'.] from daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
+Running test from 
C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle\build\test\org.apache.rat.gradle.RatIntegrationSpec\success-on-custom-reportPath
+0Tooling API is using target Gradle version: 2.4.
+ïConnected to daemon DaemonInfo{pid=4600, 
address=[5c53363a-d507-4659-b1a2-1dffa50647f1 port:52609, 
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.
 Dispatching request Build{id=c7e8ac4b-f7ed-4d40-9e3c-4529c8b19efe.1, 
currentDir=C:\Users\jwi\afw\apache-rat\apache-rat-gradle\src\gradle}.
+»Received result 
Success[value=org.gradle.tooling.internal.provider.BuildActionResult@1a80d720] 
from daemon DaemonInfo{pid=4600, address=[5c53363a-d507-4659-b1a2-1dffa50647f1 
port:52609, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=true, 
context=DefaultDaemonContext[uid=d212589c-4897-4da2-907f-b558564afcbb,javaHome=C:\opt\jdk1.7.0_76,daemonRegistryDir=C:\Users\jwi\.gradle\daemon,pid=4600,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=DE,-Duser.language=de,-Duser.variant]}.

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/output.bin.idx
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/output.bin.idx?rev=1688289&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/output.bin.idx
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/results.bin
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/results.bin?rev=1688289&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/test-results/binary/test/results.bin
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/groovydoc/org/apache/rat/gradle/RatPlugin.groovy
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/groovydoc/org/apache/rat/gradle/RatPlugin.groovy?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/groovydoc/org/apache/rat/gradle/RatPlugin.groovy
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/groovydoc/org/apache/rat/gradle/RatPlugin.groovy
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.rat.gradle
+
+import org.gradle.api.Plugin
+import org.gradle.api.Project
+import org.gradle.api.Task
+import org.gradle.api.plugins.JavaBasePlugin
+
+class RatPlugin implements Plugin<Project> {
+
+    void apply( Project project ) {
+        configureDependencies( project )
+        Task ratTask = project.task(
+            'rat',
+            type: RatTask,
+            group: 'Apache Creadur',
+            description: 'Runs Apache Rat checks'
+        )
+        if( project.plugins.hasPlugin( JavaBasePlugin ) ) {
+            project.tasks[JavaBasePlugin.CHECK_TASK_NAME].dependsOn ratTask
+        }
+    }
+
+    void configureDependencies( Project project ) {
+        project.configurations {
+            rat
+        }
+        project.repositories {
+            jcenter()
+            // maven { url 'https://repository.apache.org/snapshots' }
+        }
+        project.dependencies {
+            rat 'org.apache.rat:apache-rat-tasks:0.11'
+            // rat 'org.apache.rat:apache-rat-tasks:0.12-SNAPSHOT'
+        }
+    }
+}

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/groovydoc/org/apache/rat/gradle/RatTask.groovy
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/groovydoc/org/apache/rat/gradle/RatTask.groovy?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/groovydoc/org/apache/rat/gradle/RatTask.groovy
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/groovydoc/org/apache/rat/gradle/RatTask.groovy
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,114 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.rat.gradle
+
+import org.gradle.api.DefaultTask
+import org.gradle.api.GradleException
+import org.gradle.api.tasks.Input
+import org.gradle.api.tasks.InputFiles
+import org.gradle.api.tasks.OutputDirectory
+import org.gradle.api.tasks.TaskAction
+import org.gradle.api.internal.project.IsolatedAntBuilder
+
+class RatTask extends DefaultTask {
+
+    boolean failOnError = true
+    boolean verbose = false
+
+    @Input
+    String inputDir = '.'
+
+    @Input
+    List<String> excludes = ['**/.gradle/**']
+
+    @OutputDirectory
+    File reportDir = project.file( project.buildDir.canonicalPath + 
'/reports/rat' )
+
+    @InputFiles
+    Set<File> getInputFiles() {
+        project.fileTree(dir: inputDir, excludes: excludes).files
+    }
+
+    @TaskAction
+    def rat() {
+        if( !reportDir.exists() ) {
+            reportDir.mkdirs()
+        }
+        def xmlReport = generateXmlReport()
+        def errorCount = countUnaprovedUnknownLicenses( xmlReport )
+        def htmlReport = generateHtmlReport( xmlReport )
+        if( failOnError && errorCount > 0 ) {
+            throw new GradleException(
+                "Found $errorCount files with unapproved/unknown licenses. See 
${htmlReport.toURI()}"
+            )
+        }
+    }
+
+    def generateXmlReport() {
+        def xmlReport = new File( reportDir , 'rat-report.xml' )
+        def antBuilder = services.get( IsolatedAntBuilder )
+        def ratClasspath = project.configurations.rat
+        antBuilder.withClasspath( ratClasspath ).execute {
+            ant.taskdef( resource: 'org/apache/rat/anttasks/antlib.xml' )
+            ant.report( format: 'xml', reportFile: xmlReport.absolutePath ) {
+                fileset( dir: inputDir ) {
+                    patternset {
+                        excludes.each { exclude( name: it ) }
+                    }
+                }
+            }
+        }
+        project.logger.info "Rat XML report: ${xmlReport.toURI()}"
+        return xmlReport
+    }
+
+    def countUnaprovedUnknownLicenses( xmlReport ) {
+        def ratXml = new XmlParser().parse( xmlReport )
+        def errorCount = 0
+        ratXml.resource.each { resource ->
+            if( resource.'license-approval'.@name[0] == "false" ) {
+                def log = 'Unapproved/unknown license: ' + resource.@name
+                if( verbose ) println( log )
+                else  project.logger.debug( log )
+                errorCount++
+            }
+        }
+        return errorCount
+    }
+
+    def generateHtmlReport( xmlReport ) {
+        def htmlReport = new File( reportDir, 'index.html' )
+        def stylesheet = project.file( project.buildDir.canonicalPath + 
'/tmp/rat/stylesheet.xsl' )
+        stylesheet.parentFile.mkdirs()
+        stylesheet.text = this.getClass().getResource( 
'apache-rat-output-to-html.xsl' ).text
+        def antBuilder = services.get( IsolatedAntBuilder )
+        def ratClasspath = project.configurations.rat
+        antBuilder.withClasspath( ratClasspath ).execute {
+            ant.xslt(
+                in: xmlReport.absolutePath,
+                style: stylesheet.absolutePath,
+                out: htmlReport.absolutePath,
+                classpath: ratClasspath
+            )
+        }
+        project.logger.info "Rat HTML report: ${htmlReport.toURI()}"
+        return htmlReport
+    }
+
+}

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/jar/MANIFEST.MF
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/jar/MANIFEST.MF?rev=1688289&view=auto
==============================================================================
--- creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/jar/MANIFEST.MF 
(added)
+++ creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/jar/MANIFEST.MF 
Mon Jun 29 19:16:54 2015
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/jar/MANIFEST.MF
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginGroovyDocsJar/MANIFEST.MF
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginGroovyDocsJar/MANIFEST.MF?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginGroovyDocsJar/MANIFEST.MF
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginGroovyDocsJar/MANIFEST.MF
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginGroovyDocsJar/MANIFEST.MF
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJar/MANIFEST.MF
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJar/MANIFEST.MF?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJar/MANIFEST.MF
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJar/MANIFEST.MF
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJar/MANIFEST.MF
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJavaDocsJar/MANIFEST.MF
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJavaDocsJar/MANIFEST.MF?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJavaDocsJar/MANIFEST.MF
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJavaDocsJar/MANIFEST.MF
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/publishPluginJavaDocsJar/MANIFEST.MF
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_13639468957075325_tmp
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_13639468957075325_tmp?rev=1688289&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_13639468957075325_tmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_2080603294485453908_tmp
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_2080603294485453908_tmp?rev=1688289&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_2080603294485453908_tmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_5455351389224554797_tmp
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_5455351389224554797_tmp?rev=1688289&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_5455351389224554797_tmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_6325064430221830730_tmp
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_6325064430221830730_tmp?rev=1688289&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_6325064430221830730_tmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_8974826471243736043_tmp
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_8974826471243736043_tmp?rev=1688289&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/gradle-build/tmp/test/jar_extract_8974826471243736043_tmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: creadur/rat/trunk/apache-rat-gradle/target/maven-archiver/pom.properties
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/maven-archiver/pom.properties?rev=1688289&view=auto
==============================================================================
--- creadur/rat/trunk/apache-rat-gradle/target/maven-archiver/pom.properties 
(added)
+++ creadur/rat/trunk/apache-rat-gradle/target/maven-archiver/pom.properties 
Mon Jun 29 19:16:54 2015
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Mon Jun 29 21:03:49 CEST 2015
+version=0.12-SNAPSHOT
+groupId=org.apache.rat
+artifactId=apache-rat-gradle

Propchange: 
creadur/rat/trunk/apache-rat-gradle/target/maven-archiver/pom.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 
creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/DEPENDENCIES?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,31 @@
+// ------------------------------------------------------------------
+// Transitive dependencies of this project determined from the
+// maven pom organized by organization.
+// ------------------------------------------------------------------
+
+Apache Creadur Rat::Plugin4Gradle
+
+
+From: 'Apache Software Foundation' (http://www.apache.org)
+  - Apache Creadur Rat::API (http://creadur.apache.org/rat/apache-rat-api/) 
org.apache.rat:apache-rat-api:jar:0.12-SNAPSHOT
+    License: Apache License, Version 2  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Creadur Rat::Core (http://creadur.apache.org/rat/apache-rat-core/) 
org.apache.rat:apache-rat-core:jar:0.12-SNAPSHOT
+    License: Apache License, Version 2  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Creadur Rat::Tasks4Ant 
(http://creadur.apache.org/rat/apache-rat-tasks/) 
org.apache.rat:apache-rat-tasks:jar:0.12-SNAPSHOT
+    License: Apache License, Version 2  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+From: 'The Apache Software Foundation' (http://www.apache.org/)
+  - Commons CLI (http://commons.apache.org/cli/) 
commons-cli:commons-cli:jar:1.2
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons Collections (http://commons.apache.org/collections/) 
commons-collections:commons-collections:jar:3.2.1
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons IO (http://commons.apache.org/io/) commons-io:commons-io:jar:2.2
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons Lang (http://commons.apache.org/lang/) 
commons-lang:commons-lang:jar:2.6
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons Compress (http://commons.apache.org/compress/) 
org.apache.commons:commons-compress:jar:1.5
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+
+
+

Added: 
creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/LICENSE
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/LICENSE?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/LICENSE
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/LICENSE
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

Added: 
creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/NOTICE
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/NOTICE?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/NOTICE
 (added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/maven-shared-archive-resources/META-INF/NOTICE
 Mon Jun 29 19:16:54 2015
@@ -0,0 +1,8 @@
+
+Apache Creadur Rat::Plugin4Gradle
+Copyright 2006-2015 Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+

Added: creadur/rat/trunk/apache-rat-gradle/target/rat.txt
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/rat.txt?rev=1688289&view=auto
==============================================================================
--- creadur/rat/trunk/apache-rat-gradle/target/rat.txt (added)
+++ creadur/rat/trunk/apache-rat-gradle/target/rat.txt Mon Jun 29 19:16:54 2015
@@ -0,0 +1,50 @@
+
+*****************************************************
+Summary
+-------
+Generated at: 2015-06-29T21:03:37+02:00
+Notes: 0
+Binaries: 0
+Archives: 0
+Standards: 13
+
+Apache Licensed: 13
+Generated Documents: 0
+
+JavaDocs are generated and so license header is optional
+Generated files do not required license headers
+
+0 Unknown Licenses
+
+*******************************
+
+Unapproved licenses:
+
+
+*******************************
+
+Archives:
+
+*****************************************************
+  Files with Apache License headers will be marked AL
+  Binary files (which do not require AL headers) will be marked B
+  Compressed archives will be marked A
+  Notices, licenses etc will be marked N
+  AL    C:/Users/jwi/afw/apache-rat/apache-rat-gradle/pom.xml
+  AL    C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/gradle/build.gradle
+  AL    
C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/gradle/gradle.properties
+  AL    
C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/gradle/settings.gradle
+  AL    
C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/gradle/src/main/groovy/org/apache/rat/gradle/RatPlugin.groovy
+  AL    
C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/gradle/src/main/groovy/org/apache/rat/gradle/RatTask.groovy
+  AL    
C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/gradle/src/main/resources/META-INF/gradle-plugins/org.apache.rat.properties
+  AL    
C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/gradle/src/main/resources/org/apache/rat/gradle/apache-rat-output-to-html.xsl
+  AL    
C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/gradle/src/test/groovy/org/apache/rat/gradle/RatIntegrationSpec.groovy
+  AL    
C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/gradle/src/test/groovy/org/apache/rat/gradle/RatPluginProjectSpec.groovy
+  AL    C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/site/apt/index.apt
+  AL    
C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/site/resources/css/site.css
+  AL    C:/Users/jwi/afw/apache-rat/apache-rat-gradle/src/site/site.xml
+ 
+*****************************************************
+ Printing headers for files without AL header...
+ 
+ 
\ No newline at end of file

Propchange: creadur/rat/trunk/apache-rat-gradle/target/rat.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 
creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/DEPENDENCIES
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/DEPENDENCIES?rev=1688289&view=auto
==============================================================================
--- 
creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/DEPENDENCIES 
(added)
+++ 
creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/DEPENDENCIES 
Mon Jun 29 19:16:54 2015
@@ -0,0 +1,31 @@
+// ------------------------------------------------------------------
+// Transitive dependencies of this project determined from the
+// maven pom organized by organization.
+// ------------------------------------------------------------------
+
+Apache Creadur Rat::Plugin4Gradle
+
+
+From: 'Apache Software Foundation' (http://www.apache.org)
+  - Apache Creadur Rat::API (http://creadur.apache.org/rat/apache-rat-api/) 
org.apache.rat:apache-rat-api:jar:0.12-SNAPSHOT
+    License: Apache License, Version 2  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Creadur Rat::Core (http://creadur.apache.org/rat/apache-rat-core/) 
org.apache.rat:apache-rat-core:jar:0.12-SNAPSHOT
+    License: Apache License, Version 2  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Creadur Rat::Tasks4Ant 
(http://creadur.apache.org/rat/apache-rat-tasks/) 
org.apache.rat:apache-rat-tasks:jar:0.12-SNAPSHOT
+    License: Apache License, Version 2  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+From: 'The Apache Software Foundation' (http://www.apache.org/)
+  - Commons CLI (http://commons.apache.org/cli/) 
commons-cli:commons-cli:jar:1.2
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons Collections (http://commons.apache.org/collections/) 
commons-collections:commons-collections:jar:3.2.1
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons IO (http://commons.apache.org/io/) commons-io:commons-io:jar:2.2
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons Lang (http://commons.apache.org/lang/) 
commons-lang:commons-lang:jar:2.6
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons Compress (http://commons.apache.org/compress/) 
org.apache.commons:commons-compress:jar:1.5
+    License: The Apache Software License, Version 2.0  
(http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+
+
+

Added: creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/LICENSE
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/LICENSE?rev=1688289&view=auto
==============================================================================
--- creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/LICENSE 
(added)
+++ creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/LICENSE 
Mon Jun 29 19:16:54 2015
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

Added: creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/NOTICE
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/NOTICE?rev=1688289&view=auto
==============================================================================
--- creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/NOTICE 
(added)
+++ creadur/rat/trunk/apache-rat-gradle/target/test-classes/META-INF/NOTICE Mon 
Jun 29 19:16:54 2015
@@ -0,0 +1,8 @@
+
+Apache Creadur Rat::Plugin4Gradle
+Copyright 2006-2015 Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+

Modified: creadur/rat/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/pom.xml?rev=1688289&r1=1688288&r2=1688289&view=diff
==============================================================================
--- creadur/rat/trunk/pom.xml (original)
+++ creadur/rat/trunk/pom.xml Mon Jun 29 19:16:54 2015
@@ -582,6 +582,10 @@ agnostic home for software distribution
       <name>Garrett Rooney</name>
       <email>[email protected]</email>
     </contributor>
+    <contributor>
+      <name>Paul Merlin</name>
+      <email>[email protected]</email>
+    </contributor>
   </contributors>
   <scm>
     
<connection>scm:svn:http://svn.apache.org/repos/asf/creadur/rat/trunk</connection>
@@ -599,6 +603,7 @@ agnostic home for software distribution
     <module>apache-rat-api</module>
     <module>apache-rat-core</module>
     <module>apache-rat-plugin</module>
+    <module>apache-rat-gradle</module>
     <module>apache-rat-tasks</module>
     <module>apache-rat</module>
   </modules>

Modified: creadur/rat/trunk/src/site/apt/index.apt.vm
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/src/site/apt/index.apt.vm?rev=1688289&r1=1688288&r2=1688289&view=diff
==============================================================================
--- creadur/rat/trunk/src/site/apt/index.apt.vm (original)
+++ creadur/rat/trunk/src/site/apt/index.apt.vm Mon Jun 29 19:16:54 2015
@@ -51,7 +51,9 @@ Apache Rat
 
    * {{{http://ant.apache.org/} Apache Ant}},
 
-   * {{{http://maven.apache.org}Apache Maven}} and
+   * {{{http://maven.apache.org}Apache Maven}},
+
+   * {{{https://gradle.org}Gradle}} and
 
    * the command line.
 
@@ -112,6 +114,17 @@ java -jar apache-rat-${project.version}.
 
  Read more {{{./apache-rat-plugin/index.html} here}}.
 
+** Gradle
+
+ Use the plugin for {{{https://gradle.org}Gradle}}.
+
++------------------------------------------+
+plugins {
+  id "org.apache.rat" version "${version}"
+}
++------------------------------------------+
+
+ Read more {{{./apache-rat-gradle/index.html} here}}.
 
 * Checking Out Rat
 

Modified: creadur/rat/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/creadur/rat/trunk/src/site/site.xml?rev=1688289&r1=1688288&r2=1688289&view=diff
==============================================================================
--- creadur/rat/trunk/src/site/site.xml (original)
+++ creadur/rat/trunk/src/site/site.xml Mon Jun 29 19:16:54 2015
@@ -56,6 +56,7 @@
       <item name="From The Command Line" href="apache-rat/index.html"/>
       <item name="With Ant" href="apache-rat-tasks/index.html"/>
       <item name="With Maven" href="apache-rat-plugin/index.html"/>
+      <item name="With Gradle" href="apache-rat-gradle/index.html"/>
     </menu>
 
     <menu name="Apache Creadur&trade;" inherit="bottom">


Reply via email to