cookpad / LicenseToolsPlugin

Gradle plugin to check library licenses and generate license pages for Android
Apache License 2.0
174 stars 29 forks source link

Customizable html template style #152

Open kkkkan opened 2 years ago

kkkkan commented 2 years ago

This is adding feature pull request.

Add customizable style section of template html and output html's style is customizable . For example , if in app's build.gradle

licenseTools {
    customStyles = "body{
    background-color: pink;
    }"
}

and do generateLicensePage task , generated licenses.html's background color is pink.

If you do not set customStyles configuration in app's build.gradle and do generateLicensePage task , generated licenses.html is same in generated made by com.cookpad.android.plugin.license-tools v1.2.8.