gobblin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/2] incubator-gobblin git commit: [GOBBLIN-169] Ability to curate licenses of all Gobblin dependencies
Date Thu, 27 Jul 2017 20:28:47 GMT
Repository: incubator-gobblin
Updated Branches:
  refs/heads/master 2580b2880 -> 375c2918b


[GOBBLIN-169] Ability to curate licenses of all Gobblin dependencies


Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/6c68f907
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/6c68f907
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/6c68f907

Branch: refs/heads/master
Commit: 6c68f90736c6e78068ba6a72447e6d579d56fafa
Parents: 2580b28
Author: Abhishek Tiwari <abhishektiwari.btech@gmail.com>
Authored: Thu Jul 27 13:25:36 2017 -0700
Committer: Abhishek Tiwari <abhishektiwari.btech@gmail.com>
Committed: Thu Jul 27 13:25:36 2017 -0700

----------------------------------------------------------------------
 build.gradle | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/6c68f907/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index b364307..b30f7c1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -32,6 +32,78 @@ buildscript {
     classpath 'io.spring.gradle:dependency-management-plugin:0.5.4.RELEASE'
     classpath 'me.champeau.gradle:jmh-gradle-plugin:0.3.1'
   }
+
+  repositories {
+    maven {
+      url "https://plugins.gradle.org/m2/"
+    }
+  }
+  dependencies {
+    classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0"
+  }
+}
+
+apply plugin: "com.github.hierynomus.license"
+
+downloadLicenses {
+  includeProjectDependencies = true
+
+  ext.apacheTwo = license('Apache License, Version 2.0', 'http://opensource.org/licenses/Apache-2.0')
+  ext.bsd = license('BSD License', 'http://www.opensource.org/licenses/bsd-license.php')
+  ext.bsd3 = license('BSD 3-clause', 'https://opensource.org/licenses/BSD-3-Clause')
+  ext.cddlGplv2 = license('CDDL + GPLv2 with classpath exception', 'https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html')
+  ext.spl = license('SPL', 'http://opensource.org/licenses/SPL-1.0');
+  ext.epl = license('Eclipse Public License - Version 1.0', 'https://opensource.org/licenses/EPL-1.0')
+
+  licenses = [
+      (group('com.linkedin.gobblin')) : apacheTwo,
+      // https://zookeeper.apache.org/
+      (group('org.apache.zookeeper')) : apacheTwo,
+      // http://testng.org/doc/
+      (group('org.testng:testng')) : apacheTwo,
+      // https://db.apache.org/jdo/index.html
+      (group('javax.jdo')) : apacheTwo,
+      // Based on other javax licenses
+      (group('javax.servlet.jsp')) : cddlGplv2,
+      (group('javax.servlet')) : cddlGplv2,
+      (group('javax.transaction')) : cddlGplv2,
+      // http://commons.apache.org/proper/commons-beanutils/
+      (group('commons-beanutils')) : apacheTwo,
+      // http://jakarta.apache.org/regexp/
+      (group('regexp')) : apacheTwo,
+      // http://forge.ow2.org/projects/asm/
+      (group('asm')) : bsd,
+      // https://github.com/codehaus/jettison/blob/master/pom.xml
+      (group('org.codehaus.jettison')) : apacheTwo,
+      // https://github.com/stephenc/jcip-annotations/blob/master/LICENSE.txt
+      (group('net.jcip')) : apacheTwo,
+      // https://github.com/google/re2j/blob/master/LICENSE
+      (group('com.google.re2j')) : bsd3,
+      // https://github.com/findbugsproject/findbugs/issues/128
+      (group('com.google.code.findbugs')) : bsd3,
+      // http://www.beanshell.org/license.html
+      (group('org.beanshell')) : spl,
+      // http://www.mchange.com/projects/c3p0/
+      (group('c3p0')) : epl,
+      'antlr-runtime-3.4.jar' : apacheTwo
+      ]
+  aliases = [
+      (apacheTwo) : ['The Apache Software License, Version 2.0', 'Apache 2', 'Apache License
Version 2.0',
+                     'Apache License, Version 2.0', 'Apache License 2.0', 'Apache Version
2.0, January 2004',
+                     license('Apache License', 'http://www.apache.org/licenses/LICENSE-2.0')],
+      (bsd) : ['BSD', license('New BSD License', 'http://www.opensource.org/licenses/bsd-license.php')]
+  ]
+  dependencyConfiguration = 'compile'
+  excludeDependencies = [
+      'gobblin-throttling-service-client-data-template-*.jar',
+      'gobblin-throttling-service-api-data-template-*.jar',
+      'gobblin-flow-config-service-client-data-template-*.jar',
+      'gobblin-rest-api-data-template-*.jar',
+      'gobblin-throttling-service-server-data-template-*.jar',
+      'gobblin-flow-config-service-server-data-template-*.jar',
+      'gobblin-rest-server-data-template-*.jar',
+      'gobblin-flow-config-service-api-data-template-*.jar'
+  ]
 }
 
 apply from: 'gradle/scripts/repositories.gradle'


Mime
View raw message