Skip to content

Releases: CadixDev/licenser

licenser 0.6.1

17 Jun 22:04
6e73b6b
Compare
Choose a tag to compare

Makes changes necessary to support Gradle 7.1.

licenser 0.6.0

27 Apr 17:24
ba9f37a
Compare
Choose a tag to compare

Huge thanks to @zml2008 for modernising the Gradle plugin! Thanks also to @joschi and @jpenilla for their efforts towards this release too.

licenser 0.5.1

23 Mar 19:43
67704e7
Compare
Choose a tag to compare

Merged various pull requests thanks to @joschi.

licenser 0.5.0

01 Oct 13:13
c30289f
Compare
Choose a tag to compare

Move to the Cadix Development namespace, and resolved the warnings for Gradle 7.

licenser 0.4.1

31 Jul 08:58
0.4.1
e5374ab
Compare
Choose a tag to compare
  • Fixed exception when using conditional license headers (using matching()) (#9)

licenser 0.4

01 Jul 10:31
0.4
93e8879
Compare
Choose a tag to compare
  • Added support for custom tasks that can be applied to files outside of (Java) source sets:

    license {
        tasks {
            gradle {
                files = project.files('build.gradle.kts', 'settings.gradle.kts', 'gradle.properties')
                // header = ... (optional)
            }
            directory {
                files = project.files('path/to/directory')
                // include/exclude ... (optional)
            }
        }
    }

licenser 0.3

25 Sep 18:48
Compare
Choose a tag to compare
  • 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.

licenser 0.2.1

02 Jun 12:51
Compare
Choose a tag to compare
  • Fixed a NullPointerException when updating license header for files without content after the license header

licenser 0.2

07 May 14:44
Compare
Choose a tag to compare
  • Added experimental support for Android

licenser 0.1.5

11 Mar 18:49
Compare
Choose a tag to compare
licenser 0.1.5 Pre-release
Pre-release
  • Fix the last fix breaking plugins using the new plugins syntax