Making License & Notice with 80Col and updating build.gradle to copy disclaimer

This commit is contained in:
Nazeer Hussain Shaik
2017-01-06 21:19:23 +05:30
parent c577680757
commit ba33af36af
4 changed files with 105 additions and 48 deletions
+13 -5
View File
@@ -103,7 +103,9 @@ rat {
'**/.gitignore',
'**/.gitkeep',
'**/*.iml',
//Notice files
'**/NOTICE_RELEASE',
'**/NOTICE_SOURCE',
// gradle
'**/.gradle/**',
'**/gradlew',
@@ -242,13 +244,19 @@ compileJava{
}
war {
from('../licenses') { // notice the parens
into "WEB-INF/licenses/" // no leading slash
from('../licenses/binary/') { // notice the parens
into "WEB-INF/licenses/binary/" // no leading slash
}
from('../LICENSE') { // notice the parens
from('../LICENSE_RELEASE') { // notice the parens
into "WEB-INF/" // no leading slash
}
from('../NOTICE') { // notice the parens
from('../NOTICE_RELEASE') { // notice the parens
into "WEB-INF/" // no leading slash
}
rename ('LICENSE_RELEASE', 'LICENSE')
rename ('NOTICE_RELEASE', 'NOTICE')
from('../DISCLAIMER') { // notice the parens
into "WEB-INF/" // no leading slash
}
war.finalizedBy(bootRepackage)