Skip to content

Commit 34efdac

Browse files
toniheleMeFisto94
authored andcommitted
Add project license header information
1 parent 79568cc commit 34efdac

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ allprojects {
2424
}
2525
}
2626

27+
// Set the license for IDEs that understand this
28+
ext.license = file("$rootDir/license.txt")
29+
2730
apply plugin: 'base'
2831
apply plugin: 'com.github.spotbugs'
2932
apply from: file('version.gradle')

license.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<#if licenseFirst??>
2+
${licenseFirst}
3+
</#if>
4+
${licensePrefix}Copyright (c) 2009-${date?date?string("yyyy")} jMonkeyEngine
5+
${licensePrefix}All rights reserved.
6+
${licensePrefix?replace(" +$", "", "r")}
7+
${licensePrefix}Redistribution and use in source and binary forms, with or without
8+
${licensePrefix}modification, are permitted provided that the following conditions are
9+
${licensePrefix}met:
10+
${licensePrefix?replace(" +$", "", "r")}
11+
${licensePrefix}* Redistributions of source code must retain the above copyright
12+
${licensePrefix} notice, this list of conditions and the following disclaimer.
13+
${licensePrefix?replace(" +$", "", "r")}
14+
${licensePrefix}* Redistributions in binary form must reproduce the above copyright
15+
${licensePrefix} notice, this list of conditions and the following disclaimer in the
16+
${licensePrefix} documentation and/or other materials provided with the distribution.
17+
${licensePrefix?replace(" +$", "", "r")}
18+
${licensePrefix}* Neither the name of 'jMonkeyEngine' nor the names of its contributors
19+
${licensePrefix} may be used to endorse or promote products derived from this software
20+
${licensePrefix} without specific prior written permission.
21+
${licensePrefix?replace(" +$", "", "r")}
22+
${licensePrefix}THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23+
${licensePrefix}"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
24+
${licensePrefix}TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25+
${licensePrefix}PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
26+
${licensePrefix}CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27+
${licensePrefix}EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
28+
${licensePrefix}PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29+
${licensePrefix}PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
30+
${licensePrefix}LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31+
${licensePrefix}NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32+
${licensePrefix}SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33+
<#if licenseLast??>
34+
${licenseLast}
35+
</#if>

0 commit comments

Comments
 (0)