Fix license header check

master
kaklakariada 2018-01-28 16:33:49 +01:00
parent dcb1f1cdb7
commit 7144fe8822
No known key found for this signature in database
GPG Key ID: BD28652251801C3F
3 changed files with 9 additions and 5 deletions

View File

@ -88,6 +88,13 @@ Build PortMapper on the command line:
$ ./gradlew build
$ java -jar build/libs/portmapper-*.jar
Generate license header for added files
---------------------------------------
```bash
$ ./gradlew licenseFormat
```
Participate
===========

View File

@ -1,6 +1,6 @@
plugins {
id 'java'
id "com.github.hierynomus.license" version "0.13.1"
id "com.github.hierynomus.license" version "0.14.0"
}
repositories {
@ -72,7 +72,4 @@ dependencies {
license {
header = file('gradle/license-header.txt')
ext.year = 2015
ext.name = 'Christoph Pirkl'
ext.email = 'christoph at users.sourceforge.net'
}

View File

@ -1,5 +1,5 @@
UPnP PortMapper - A tool for managing port forwardings via UPnP
Copyright (C) ${year} ${name} <${email}>
Copyright (C) 2015 Christoph Pirkl <christoph at users.sourceforge.net>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by