1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-22 09:27:39 +00:00

Fix a couple of future deprecations in Gradle

This commit is contained in:
Jonathan Coates
2023-10-19 18:28:15 +01:00
parent ae5a661a47
commit e67c94d1bd
5 changed files with 10 additions and 8 deletions

View File

@@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: MPL-2.0
import cc.tweaked.gradle.getAbsolutePath
plugins {
`java-library`
`java-test-fixtures`
@@ -45,7 +47,7 @@ tasks.processResources {
}
tasks.test {
systemProperty("cct.test-files", buildDir.resolve("tmp/testFiles").absolutePath)
systemProperty("cct.test-files", layout.buildDirectory.dir("tmp/testFiles").getAbsolutePath())
}
tasks.testFixturesJar {