|
| 1 | +apply plugin: 'com.github.hierynomus.license-report' |
| 2 | + |
| 3 | +downloadLicenses { |
| 4 | + |
| 5 | + ext.apacheTwo = license('Apache License, Version 2.0', 'http://opensource.org/licenses/Apache-2.0') |
| 6 | + ext.bsd = license('BSD License', 'http://www.opensource.org/licenses/bsd-license.php') |
| 7 | + ext.mit = license('MIT License', 'https://opensource.org/licenses/mit-license.php') |
| 8 | + ext.cddlgpl = license('CDDL + GPLv2 with classpath exception', 'https://javaee.github.io/glassfish/LICENSE') |
| 9 | + ext.epl = license('Eclipse Public License - Version 1.0', 'http://www.eclipse.org/org/documents/epl-v10.php') |
| 10 | + ext.lgpl = license('LGPL 2.1', 'http://www.gnu.org/licenses/lgpl-2.1.html') |
| 11 | + ext.hsqldb = license('HSQLDB License, based on BSD', 'http://hsqldb.org/web/hsqlLicense.html') |
| 12 | + |
| 13 | + |
| 14 | + aliases = [ |
| 15 | + (apacheTwo): ['Apache Software License - Version 2.0', 'Apache License, version 2.0', 'The Apache License, Version 2.0', 'Apache Software Licenses', 'Apache 2.0', 'The Apache Software License, Version 2.0', 'Apache 2', 'Apache License Version 2.0', 'Apache License, Version 2.0', 'Apache License 2.0', license$ |
| 16 | + (bsd): ['BSD', 'The New BSD License', 'BSD License', license('New BSD License', 'http://www.opensource.org/licenses/bsd-license.php')], |
| 17 | + (mit): ['MIT', 'MIT license', 'MIT License'], |
| 18 | + (cddlgpl): ['CDDL + GPLv2 with classpath exception', 'CDDL+GPL License', 'CDDL/GPLv2+CE', 'CDDL 1.1', 'GPL2 w/ CPE', 'CDDL v1.1 / GPL v2 dual license'], |
| 19 | + (epl): ['Eclipse Public License - Version 1.0', 'Eclipse Public License - v 1.0'], |
| 20 | + (lgpl): ['LGPL 2.1', 'GNU Lesser General Public License', 'Lesser General Public License (LGPL)'], |
| 21 | + (hsqldb): ['HSQLDB License, a BSD open source license', 'BSD License for HSQL'] |
| 22 | + ] |
| 23 | + |
| 24 | + licenses = [ |
| 25 | + 'org.json:json:20070829' : license('The JSON License', 'http://www.json.org/license.html'), |
| 26 | + 'org.osgi:org.osgi.compendium:4.2.0': apacheTwo, |
| 27 | + 'relaxngDatatype:relaxngDatatype:20020414': bsd, |
| 28 | + 'jgridshift:jgridshift:1.0': lgpl, |
| 29 | + 'java3d:vecmath:1.3.2': license('Java Distribution License', 'http://cms.messe-berlin.de/license/license_jai.html'), |
| 30 | + 'javax.media:jai_core:1.1.3': license('Java Distribution License', 'http://cms.messe-berlin.de/license/license_jai.html') |
| 31 | + ] |
| 32 | + |
| 33 | + excludeDependencies = [ |
| 34 | + 'de.interactive_instruments:xtraplatform-runtime:1.1.0', |
| 35 | + 'de.interactive_instruments:xtraplatform-rest:1.1.0', |
| 36 | + 'de.interactive_instruments:xtraplatform-ogc-csw-client:1.1.0', |
| 37 | + 'de.interactive_instruments:xtraplatform-web-rest:1.1.0', |
| 38 | + 'de.interactive_instruments:xtraplatform-util:1.1.0', |
| 39 | + 'de.interactive_instruments:xtraplatform-api:1.1.0', |
| 40 | + 'de.interactive_instruments:xtraplatform-kvstore-file:1.1.0', |
| 41 | + 'de.interactive_instruments:xtraplatform-crs-transformation-geotools:1.1.0', |
| 42 | + 'de.interactive_instruments:xtraplatform-openapi:1.1.0', |
| 43 | + 'de.interactive_instruments:xtraplatform-web-static:1.1.0', |
| 44 | + 'de.interactive_instruments:xtraplatform-kvstore-api:1.1.0', |
| 45 | + 'de.interactive_instruments:xtraplatform-server:1.1.0', |
| 46 | + 'de.interactive_instruments:xtraplatform-dropwizard:1.1.0', |
| 47 | + 'de.interactive_instruments:xtraplatform-ogc-wfs-api:1.1.0', |
| 48 | + 'de.interactive_instruments:xtraplatform-core:1.1.0', |
| 49 | + 'de.interactive_instruments:xtraplatform-config-store:1.1.0', |
| 50 | + 'de.interactive_instruments:xtraplatform-config-store-api:1.1.0', |
| 51 | + 'de.interactive_instruments:xtraplatform-ogc-wfs-client:1.1.0', |
| 52 | + 'de.interactive_instruments:xtraplatform-crs-api:1.1.0', |
| 53 | + 'de.interactive_instruments:xtraplatform-logging-i18n:1.1.0', |
| 54 | + 'de.interactive_instruments:xtraplatform-logging-i18n:1.1.0', |
| 55 | + 'de.interactive_instruments:xtraplatform-openapi-viewer:1.1.0', |
| 56 | + 'de.interactive_instruments:xtraplatform-kvstore-inmemory:1.1.0', |
| 57 | + 'de.interactive_instruments:xtraplatform-sessions-api:1.1.0', |
| 58 | + 'de.interactive_instruments:xtraplatform-firstrun:1.1.0', |
| 59 | + 'de.interactive_instruments:xtraplatform-ogc-wfs-proxy:1.1.0', |
| 60 | + 'de.interactive_instruments:xtraplatform-admin-rest:1.1.0' |
| 61 | + ] |
| 62 | + |
| 63 | + dependencyConfiguration = 'embedded' |
| 64 | +} |
| 65 | + |
0 commit comments