Explorar o código

Add default license for new files

shadowislord %!s(int64=10) %!d(string=hai) anos
pai
achega
f33fb69803
Modificáronse 2 ficheiros con 44 adicións e 0 borrados
  1. 9 0
      .nb-gradle-properties
  2. 35 0
      license.txt

+ 9 - 0
.nb-gradle-properties

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<gradle-project-properties>
+  <!--DO NOT EDIT THIS FILE! - Used by the Gradle plugin of NetBeans.-->
+  <license-header>
+    <name>New BSD (3-clause) License</name>
+    <template>license.txt</template>
+    <property name="organization">jMonkeyEngine</property>
+  </license-header>
+</gradle-project-properties>

+ 35 - 0
license.txt

@@ -0,0 +1,35 @@
+<#if licenseFirst??>
+${licenseFirst}
+</#if>
+${licensePrefix}Copyright (c) 2009-${date?date?string("yyyy")} ${project.organization!user}
+${licensePrefix}All rights reserved.
+${licensePrefix?replace(" +$", "", "r")}
+${licensePrefix}Redistribution and use in source and binary forms, with or without
+${licensePrefix}modification, are permitted provided that the following conditions are
+${licensePrefix}met:
+${licensePrefix?replace(" +$", "", "r")}
+${licensePrefix}* Redistributions of source code must retain the above copyright
+${licensePrefix}  notice, this list of conditions and the following disclaimer.
+${licensePrefix?replace(" +$", "", "r")}
+${licensePrefix}* Redistributions in binary form must reproduce the above copyright
+${licensePrefix}  notice, this list of conditions and the following disclaimer in the
+${licensePrefix}  documentation and/or other materials provided with the distribution.
+${licensePrefix?replace(" +$", "", "r")}
+${licensePrefix}* Neither the name of '${project.organization!user}' nor the names of its contributors
+${licensePrefix}  may be used to endorse or promote products derived from this software
+${licensePrefix}  without specific prior written permission.
+${licensePrefix?replace(" +$", "", "r")}
+${licensePrefix}THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+${licensePrefix}"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+${licensePrefix}TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+${licensePrefix}PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+${licensePrefix}CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+${licensePrefix}EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+${licensePrefix}PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+${licensePrefix}PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+${licensePrefix}LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+${licensePrefix}NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+${licensePrefix}SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+<#if licenseLast??>
+${licenseLast}
+</#if>