File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ dependencies {
1010}
1111
1212val 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)
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ dependencies {
1010}
1111
1212val 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)
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ dependencies {
1313}
1414
1515val 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)
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ dependencies {
1313}
1414
1515val 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)
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ tasks.processResources {
5959val 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
6565tasks.jar {
You can’t perform that action at this time.
0 commit comments