From 46caaf6beac4c209181f806063dbc468051ee077 Mon Sep 17 00:00:00 2001 From: RedNesto Date: Thu, 5 Sep 2024 00:01:55 +0200 Subject: [PATCH] Remove superfluous license header and fix config cache --- build.gradle.kts | 6 ++---- buildSrc/build.gradle.kts | 20 -------------------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 73605eefd..deb8f5716 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -232,10 +232,8 @@ tasks.processResources { tasks.test { dependsOn(tasks.jar, testLibs) - doFirst { - testLibs.resolvedConfiguration.resolvedArtifacts.forEach { - systemProperty("testLibs.${it.name}", it.file.absolutePath) - } + testLibs.resolvedConfiguration.resolvedArtifacts.forEach { + systemProperty("testLibs.${it.name}", it.file.absolutePath) } systemProperty("NO_FS_ROOTS_ACCESS_CHECK", "true") systemProperty("java.awt.headless", "true") diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 4e24b640f..99599becb 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -20,26 +20,6 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile -/* - * Minecraft Development for IntelliJ - * - * https://mcdev.io/ - * - * Copyright (C) 2024 minecraft-dev - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, version 3.0 only. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - */ - plugins { `kotlin-dsl` }