Reminder about the licenses of used libraries.
This is a Gradle plugin to check dependencies their licenses.
plugins {
id "com.chmyaf.gradle.plugin.libcenses" version "X.Y.Z"
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.chmyaf.gradle.plugin:libcenses:+'
}
}
apply plugin: 'com.chmyaf.gradle.plugin.libcenses'
libcenses {
config = ".chmyaf/libcenses.yml"
}
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.
This is Open Source software released under Apache 2.0 license.
- snakeyaml -- YAML 1.1 processor for the Java Virtual Machine version 7.