Skip to content

Commit d7b9b04

Browse files
committed
build: Replace buildDir with layout.buildDirectory
1 parent 3cde428 commit d7b9b04

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

container/fabric/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
}
1111

1212
val jar by tasks.registering(Jar::class) {
13-
destinationDirectory.set(project.buildDir.resolve("libs"))
13+
destinationDirectory.set(layout.buildDirectory.dir("libs"))
1414
archiveBaseName.set("container-${project.name}")
1515

1616
dependsOn(stage0)

container/launchwrapper/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
}
1111

1212
val jar by tasks.registering(Jar::class) {
13-
destinationDirectory.set(project.buildDir.resolve("libs"))
13+
destinationDirectory.set(layout.buildDirectory.dir("libs"))
1414
archiveBaseName.set("container-${project.name}")
1515

1616
dependsOn(stage0)

container/modlauncher8/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies {
1313
}
1414

1515
val jar by tasks.registering(ShadowJar::class) {
16-
destinationDirectory.set(project.buildDir.resolve("libs"))
16+
destinationDirectory.set(layout.buildDirectory.dir("libs"))
1717
archiveBaseName.set("container-${project.name}")
1818

1919
configureModLauncherContainerJar(stage0)

container/modlauncher9/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies {
1313
}
1414

1515
val jar by tasks.registering(ShadowJar::class) {
16-
destinationDirectory.set(project.buildDir.resolve("libs"))
16+
destinationDirectory.set(layout.buildDirectory.dir("libs"))
1717
archiveBaseName.set("container-${project.name}")
1818

1919
configureModLauncherContainerJar(stage0)

mixin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ tasks.processResources {
5959
val patchedJar by tasks.registering(CompatMixinTask::class) {
6060
mixinClasses.from(sourceSets.main.map { it.output })
6161
input.set(fatMixin.files.single())
62-
output.set(buildDir.resolve("patched.jar"))
62+
output.set(layout.buildDirectory.file("patched.jar"))
6363
}
6464

6565
tasks.jar {

0 commit comments

Comments
 (0)