Skip to content

Commit f945225

Browse files
committed
apply LICENSE
1 parent 0807814 commit f945225

25 files changed

Lines changed: 383 additions & 0 deletions

HEADER

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
Copyright 2025-$YEAR Huynh Tien
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+
*/

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,29 @@
8181
</execution>
8282
</executions>
8383
</plugin>
84+
<plugin>
85+
<groupId>com.diffplug.spotless</groupId>
86+
<artifactId>spotless-maven-plugin</artifactId>
87+
<version>2.43.0</version>
88+
<executions>
89+
<execution>
90+
<phase>validate</phase>
91+
<goals>
92+
<goal>check</goal>
93+
</goals>
94+
</execution>
95+
</executions>
96+
<configuration>
97+
<java>
98+
<includes>
99+
<include>src/main/java/**/*.java</include>
100+
</includes>
101+
<licenseHeader>
102+
<file>${basedir}/HEADER</file>
103+
</licenseHeader>
104+
</java>
105+
</configuration>
106+
</plugin>
84107
</plugins>
85108
</build>
86109

src/main/java/me/hsgamer/bettergui/betterdialogs/BetterDialogs.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
Copyright 2025-2025 Huynh Tien
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+
*/
116
package me.hsgamer.bettergui.betterdialogs;
217

318
import io.github.projectunified.minelib.scheduler.common.util.Platform;

src/main/java/me/hsgamer/bettergui/betterdialogs/builder/DialogComponentBuilder.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
Copyright 2025-2025 Huynh Tien
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+
*/
116
package me.hsgamer.bettergui.betterdialogs.builder;
217

318
import me.hsgamer.bettergui.betterdialogs.component.DialogComponent;

src/main/java/me/hsgamer/bettergui/betterdialogs/component/DialogComponent.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
Copyright 2025-2025 Huynh Tien
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+
*/
116
package me.hsgamer.bettergui.betterdialogs.component;
217

318
import io.github.projectunified.unidialog.core.dialog.Dialog;

src/main/java/me/hsgamer/bettergui/betterdialogs/component/action/ActionComponent.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
Copyright 2025-2025 Huynh Tien
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+
*/
116
package me.hsgamer.bettergui.betterdialogs.component.action;
217

318
import io.github.projectunified.unidialog.core.action.DialogActionBuilder;

src/main/java/me/hsgamer/bettergui/betterdialogs/component/action/CopyToClipboardActionCommand.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
Copyright 2025-2025 Huynh Tien
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+
*/
116
package me.hsgamer.bettergui.betterdialogs.component.action;
217

318
import io.github.projectunified.unidialog.core.action.DialogActionBuilder;

src/main/java/me/hsgamer/bettergui/betterdialogs/component/action/CustomActionComponent.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
Copyright 2025-2025 Huynh Tien
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+
*/
116
package me.hsgamer.bettergui.betterdialogs.component.action;
217

318
import io.github.projectunified.unidialog.core.action.DialogActionBuilder;

src/main/java/me/hsgamer/bettergui/betterdialogs/component/action/OpenUrlActionComponent.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
Copyright 2025-2025 Huynh Tien
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+
*/
116
package me.hsgamer.bettergui.betterdialogs.component.action;
217

318
import io.github.projectunified.unidialog.core.action.DialogActionBuilder;

src/main/java/me/hsgamer/bettergui/betterdialogs/component/action/RunCommandActionComponent.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
Copyright 2025-2025 Huynh Tien
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+
*/
116
package me.hsgamer.bettergui.betterdialogs.component.action;
217

318
import io.github.projectunified.unidialog.core.action.DialogActionBuilder;

0 commit comments

Comments
 (0)