Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 1.3 KB

README.md

File metadata and controls

73 lines (50 loc) · 1.3 KB

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