google-nomulus/config/dependency-license
Ben McIlwain bbacdb9704
Start using JUnit 5 (#488)
* Start using JUnit 5

This converts a single test class over to JUnit 5 (YamlUtilsTest). The main
differences you'll notice are that @RunWith isn't needed anymore, test classes
and test methods can now be package-private, and the @Test annotation comes from
the org.junit.jupiter.api package instead of org.junit. There's a lot more
differences between 4 and 5 than this that we'll need to keep in mind when
converting more test classes; for some more details, see:
https://www.baeldung.com/junit-5-migration

In order to allow JUnit 4 and 5 test classes to coexist, I've had to add two new
dependencies, org.junit.jupiter:junit-jupiter-engine and
org.junit.vintage:junit-vintage-engine, which exist in addition to junit:junit
for now. Eventually, once we've completed migrating over all JUnit 4 test
classes, then we can remove junit and junit-vintage-engine and just be left with
junit-jupiter-engine.

* Delete no longer needed lockfiles

* Merge branch 'master' into first-junit5
2020-02-19 18:29:59 -05:00
..
allowed_licenses.json Start using JUnit 5 (#488) 2020-02-19 18:29:59 -05:00
license_normalizer_bundle.json Check dependencies' open-source licenses (#165) 2019-07-11 12:08:08 -04:00
README.md Restrict "Public Domain" license acceptance (#329) 2019-10-28 13:32:42 -04:00

Summary

This folder contains configuration files for the gradle-license-report plugin:

  • allowed_licenses.json declares the acceptable licenses. A license may have multiple entries in this file, since the 'moduleLicense' property value must match exactly the phrases found in pom or manifest files.
  • license_normalizer_bundle.json configures normalization rules for license reporting.

Notes About Adding New Licenses

  • The WTFPL license is not allowed.

  • Each 'Public Domain' license entry must include a specific 'moduleName'. Do not omit moduleName or use wildcards.