Skip to content

licenser 0.3

Compare
Choose a tag to compare
@stephan-gh stephan-gh released this 25 Sep 18:48
· 52 commits to master since this release
  • Added syntax to apply special license header only to some matching source files:

    license {
        // Apply special license header to one source file
        matching('**/ThirdPartyLibrary.java') {
            header = file('THIRDPARTY-LICENSE.txt')
        }
    
        // Apply special license header to matching source files
        matching(includes: ['**/thirdpartylibrary/**', '**/ThirdPartyLibrary.java']) {
            header = file('THIRDPARTY-LICENSE.txt')
        }
    }
  • Add license header to app manifest on Android projects.

  • Consistent indentation for XML license headers.