Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DB131200CD2 for ; Thu, 27 Jul 2017 22:28:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D980C16B8B7; Thu, 27 Jul 2017 20:28:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 33F5A16B8B2 for ; Thu, 27 Jul 2017 22:28:48 +0200 (CEST) Received: (qmail 54694 invoked by uid 500); 27 Jul 2017 20:28:47 -0000 Mailing-List: contact commits-help@gobblin.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gobblin.incubator.apache.org Delivered-To: mailing list commits@gobblin.incubator.apache.org Received: (qmail 54683 invoked by uid 99); 27 Jul 2017 20:28:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2017 20:28:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 15A2BDFF8A; Thu, 27 Jul 2017 20:28:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: abti@apache.org To: commits@gobblin.apache.org Date: Thu, 27 Jul 2017 20:28:47 -0000 Message-Id: <4d64e419dddd4ee1897a3f29bba8c702@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] incubator-gobblin git commit: [GOBBLIN-169] Ability to curate licenses of all Gobblin dependencies archived-at: Thu, 27 Jul 2017 20:28:49 -0000 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 Authored: Thu Jul 27 13:25:36 2017 -0700 Committer: Abhishek Tiwari 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'