Skip to content

Commit e9e7042

Browse files
committed
Fix spotless testing for root-modules
1 parent b27aedc commit e9e7042

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

BlueMapCore/src/main/java/de/bluecolored/bluemap/core/resources/resourcepack/texture/AnimationMeta.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
/*
2+
* This file is part of BlueMap, licensed under the MIT License (MIT).
3+
*
4+
* Copyright (c) Blue (Lukas Rieger) <https://bluecolored.de>
5+
* Copyright (c) contributors
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
* THE SOFTWARE.
24+
*/
125
package de.bluecolored.bluemap.core.resources.resourcepack.texture;
226

327
import com.google.gson.Gson;

build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ tasks.register("clean") {
1515

1616
tasks.register("build") {
1717
gradle.includedBuilds.forEach {
18+
if (it.name == "BlueMapCore") return@forEach
19+
if (it.name == "BlueMapCommon") return@forEach
20+
1821
dependsOn(it.task(":release"))
1922
}
2023
}
@@ -39,6 +42,9 @@ tasks.register("spotlessCheck") {
3942

4043
tasks.register("publish") {
4144
gradle.includedBuilds.forEach {
45+
if (it.name == "BlueMapCore") return@forEach
46+
if (it.name == "BlueMapCommon") return@forEach
47+
4248
dependsOn(it.task(":publish"))
4349
}
4450
}

settings.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ rootProject.name = "BlueMap"
44
val releaseNotesFile = file("release.md")
55
if (!releaseNotesFile.exists()) releaseNotesFile.createNewFile();
66

7+
// bluemap
8+
includeBuild("BlueMapCore")
9+
includeBuild("BlueMapCommon")
10+
711
// implementations
812
includeBuild("implementations/cli")
913

0 commit comments

Comments
 (0)