Skip to content

plugin gradle to use pivotal/licenseFinder on your build process

License

Notifications You must be signed in to change notification settings

Itiviti/gradle-licenseFinder-plugin

Repository files navigation

gradle-licenseFinder-plugin

plugin gradle to use pivotal/licenseFinder on your build process

build status

Build Status

Documentation

it is compatible with the new plugin mechanism and can be used with :

plugins {
  id 'com.ullink.gradle.licenseFinder' version: '0.1-SNAPSHOT'
}

or, when using gradler lower than 2.1 :

buildscript {
    repositories {
      mavenCentral()
    }

    dependencies {
        classpath "com.ullink.gradle:gradle-licenseFinder-plugin:0.1-SNAPSHOT"
    }
}

it creates a task 'licenseFinder' that may be configured as follows :

licenseFinder {
    dependencyConfiguration : "runtime"
    checkLicensesScriptArgs : ["--project-path=${project.path}", "--gradle-command=${project.path}"]
    checkLicensesDescription : "check License for dependencies project"
    checkLicensesScript : StreamUtil.streamToFile(this.class.getResourceAsStream('/entrypoint.rb'))
    decisions : []
    whiteList : ["MIT", "AGPL-3.0", "GPL-3.0", "LGPL-3.0", "MPL-2.0", "APACHE-2.0", "UNLICENSE"]
}

About

plugin gradle to use pivotal/licenseFinder on your build process

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published