Browse Source

add proper license header

tags/0.1.1
asiekierka 2 years ago
parent
commit
136ba5721a

+ 13
- 0
HEADER View File

@@ -0,0 +1,13 @@
1
+Copyright 2016 Adrian Siekierka
2
+
3
+Licensed under the Apache License, Version 2.0 (the "License");
4
+you may not use this file except in compliance with the License.
5
+You may obtain a copy of the License at
6
+
7
+    http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+Unless required by applicable law or agreed to in writing, software
10
+distributed under the License is distributed on an "AS IS" BASIS,
11
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+See the License for the specific language governing permissions and
13
+limitations under the License.

+ 19
- 1
build.gradle View File

@@ -3,6 +3,17 @@ apply plugin: 'idea'
3 3
 apply plugin: 'application'
4 4
 apply plugin: 'maven'
5 5
 
6
+buildscript {
7
+    repositories {
8
+        maven {
9
+            url "https://plugins.gradle.org/m2/"
10
+        }
11
+    }
12
+    dependencies {
13
+        classpath "gradle.plugin.net.minecrell:licenser:0.2.1"
14
+    }
15
+}
16
+
6 17
 repositories {
7 18
     mavenCentral()
8 19
 }
@@ -29,10 +40,17 @@ jar {
29 40
     }
30 41
 }
31 42
 
43
+apply plugin: net.minecrell.gradle.licenser.Licenser
44
+
45
+license {
46
+    header file('HEADER')
47
+    include '**/*.java'
48
+}
49
+
32 50
 dependencies {
33 51
     compile 'org.ow2.asm:asm-all:5.1'
34 52
     compile 'com.google.code.gson:gson:2.6.2'
35 53
     compile 'commons-io:commons-io:2.5'
36 54
     compile 'commons-codec:commons-codec:1.10'
37 55
     compile 'com.beust:jcommander:1.48'
38
-}
56
+}

+ 16
- 0
src/pl/asie/modalyze/Main.java View File

@@ -1,3 +1,19 @@
1
+/*
2
+ * Copyright 2016 Adrian Siekierka
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ *     http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
1 17
 package pl.asie.modalyze;
2 18
 
3 19
 import com.beust.jcommander.JCommander;

+ 16
- 0
src/pl/asie/modalyze/McmodInfo.java View File

@@ -1,3 +1,19 @@
1
+/*
2
+ * Copyright 2016 Adrian Siekierka
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ *     http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
1 17
 package pl.asie.modalyze;
2 18
 
3 19
 import com.google.gson.Gson;

+ 16
- 0
src/pl/asie/modalyze/ModAnalyzer.java View File

@@ -1,3 +1,19 @@
1
+/*
2
+ * Copyright 2016 Adrian Siekierka
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ *     http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
1 17
 package pl.asie.modalyze;
2 18
 
3 19
 import org.apache.commons.codec.digest.DigestUtils;

+ 16
- 0
src/pl/asie/modalyze/ModAnalyzerUtils.java View File

@@ -1,3 +1,19 @@
1
+/*
2
+ * Copyright 2016 Adrian Siekierka
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ *     http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
1 17
 package pl.asie.modalyze;
2 18
 
3 19
 import java.io.File;

+ 16
- 0
src/pl/asie/modalyze/ModMetadata.java View File

@@ -1,3 +1,19 @@
1
+/*
2
+ * Copyright 2016 Adrian Siekierka
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ *     http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
1 17
 package pl.asie.modalyze;
2 18
 
3 19
 import java.util.List;

+ 16
- 0
src/pl/asie/modalyze/StringUtils.java View File

@@ -1,3 +1,19 @@
1
+/*
2
+ * Copyright 2016 Adrian Siekierka
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ *     http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
1 17
 package pl.asie.modalyze;
2 18
 
3 19
 import java.util.ArrayList;

+ 16
- 0
src/pl/asie/modalyze/mcp/MCPDataManager.java View File

@@ -1,3 +1,19 @@
1
+/*
2
+ * Copyright 2016 Adrian Siekierka
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ *     http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
1 17
 package pl.asie.modalyze.mcp;
2 18
 
3 19
 import org.apache.commons.io.FileUtils;

+ 16
- 0
src/pl/asie/modalyze/mcp/MCPUtils.java View File

@@ -1,3 +1,19 @@
1
+/*
2
+ * Copyright 2016 Adrian Siekierka
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ *     http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
1 17
 package pl.asie.modalyze.mcp;
2 18
 
3 19
 public final class MCPUtils {

Loading…
Cancel
Save