Skip to content

chmyaf/gradle-plugin-libcenses

Repository files navigation

Libraries licenses reminder

Reminder about the licenses of used libraries.

Description

This is a Gradle plugin to check dependencies their licenses.

Usage

Include plugin

Using the pluginsDSL

plugins {
  id "com.chmyaf.gradle.plugin.libcenses" version "X.Y.Z"
}

Using legacy plugin application

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.chmyaf.gradle.plugin:libcenses:+'
    }
}
apply plugin: 'com.chmyaf.gradle.plugin.libcenses'

Plugin configuration

libcenses {
    config = ".chmyaf/libcenses.yml"
}

Libcenses configuration

file: .chmyaf/libcenses.yml

libraries:
  - name: "library_name"
    license: "example license"
    accepted:
      - "Licence.txt placed to root directory"
    waiting:
      - "Add author to readme"

Examples can be found in the src/testFunc/resources directory.

License

This is Open Source software released under Apache 2.0 license.

Third party

  • snakeyaml -- YAML 1.1 processor for the Java Virtual Machine version 7.

Links

About

Verification licenses in a builded projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages