mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-13 22:25:57 +01:00
Fix spotless testing for root-modules
This commit is contained in:
parent
b27aedc4c2
commit
e9e7042aed
@ -1,3 +1,27 @@
|
||||
/*
|
||||
* This file is part of BlueMap, licensed under the MIT License (MIT).
|
||||
*
|
||||
* Copyright (c) Blue (Lukas Rieger) <https://bluecolored.de>
|
||||
* Copyright (c) contributors
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
package de.bluecolored.bluemap.core.resources.resourcepack.texture;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
@ -15,6 +15,9 @@ tasks.register("clean") {
|
||||
|
||||
tasks.register("build") {
|
||||
gradle.includedBuilds.forEach {
|
||||
if (it.name == "BlueMapCore") return@forEach
|
||||
if (it.name == "BlueMapCommon") return@forEach
|
||||
|
||||
dependsOn(it.task(":release"))
|
||||
}
|
||||
}
|
||||
@ -39,6 +42,9 @@ tasks.register("spotlessCheck") {
|
||||
|
||||
tasks.register("publish") {
|
||||
gradle.includedBuilds.forEach {
|
||||
if (it.name == "BlueMapCore") return@forEach
|
||||
if (it.name == "BlueMapCommon") return@forEach
|
||||
|
||||
dependsOn(it.task(":publish"))
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,10 @@ rootProject.name = "BlueMap"
|
||||
val releaseNotesFile = file("release.md")
|
||||
if (!releaseNotesFile.exists()) releaseNotesFile.createNewFile();
|
||||
|
||||
// bluemap
|
||||
includeBuild("BlueMapCore")
|
||||
includeBuild("BlueMapCommon")
|
||||
|
||||
// implementations
|
||||
includeBuild("implementations/cli")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user