Moved output directory

This commit is contained in:
Auxilor 2020-11-20 12:50:33 +00:00
parent 039b7fb01f
commit b926413118
2 changed files with 8 additions and 0 deletions

View File

@ -53,6 +53,10 @@ tasks.withType(JavaCompile) {
options.encoding = 'UTF-8' options.encoding = 'UTF-8'
} }
tasks.withType(Jar) {
destinationDirectory = file("$rootDir/bin/")
}
compileJava.dependsOn clean compileJava.dependsOn clean
build.dependsOn shadowJar build.dependsOn shadowJar

View File

@ -103,6 +103,10 @@ allprojects {
compileJava.options.encoding = 'UTF-8' compileJava.options.encoding = 'UTF-8'
} }
clean.doLast {
file("${rootDir}/bin").deleteDir()
}
group = 'com.willfp.ecoenchants' group = 'com.willfp.ecoenchants'
archivesBaseName = project.name archivesBaseName = project.name
version = project.version version = project.version