From b926413118bab960501ae57c2e20dfa3a952c979 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 20 Nov 2020 12:50:33 +0000 Subject: [PATCH] Moved output directory --- Plugin/build.gradle | 4 ++++ build.gradle | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Plugin/build.gradle b/Plugin/build.gradle index afce598c..96ef1089 100644 --- a/Plugin/build.gradle +++ b/Plugin/build.gradle @@ -53,6 +53,10 @@ tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } +tasks.withType(Jar) { + destinationDirectory = file("$rootDir/bin/") +} + compileJava.dependsOn clean build.dependsOn shadowJar diff --git a/build.gradle b/build.gradle index e3179c2c..fa918c47 100644 --- a/build.gradle +++ b/build.gradle @@ -103,6 +103,10 @@ allprojects { compileJava.options.encoding = 'UTF-8' } +clean.doLast { + file("${rootDir}/bin").deleteDir() +} + group = 'com.willfp.ecoenchants' archivesBaseName = project.name version = project.version