Fixed mapped jar output issues

This commit is contained in:
Auxilor
2021-08-01 23:18:06 +01:00
parent ed5f1ccb5e
commit a845cda9ed
3 changed files with 16 additions and 6 deletions

View File

@@ -7,7 +7,11 @@ plugins {
dependencies { dependencies {
implementation project(":eco-api") implementation project(":eco-api")
implementation project(":eco-core").getSubprojects() implementation project(":eco-core:core-plugin")
implementation project(":eco-core:core-proxy")
implementation project(":eco-core:core-backend")
implementation project(":eco-core:core-nms:v1_16_R3")
implementation project(path: ":eco-core:core-nms:v1_17_R1", configuration: 'mapped')
} }
allprojects { allprojects {

View File

@@ -17,8 +17,6 @@ java {
withJavadocJar() withJavadocJar()
} }
compileJava.options.encoding = 'UTF-8'
compileJava.dependsOn clean
build.dependsOn publishToMavenLocal build.dependsOn publishToMavenLocal

View File

@@ -14,6 +14,14 @@ specialGradle {
specialSourceVersion.set("1.10.0") specialSourceVersion.set("1.10.0")
} }
tasks { buildTools {
build.dependsOn productionMappedJar quiet.set(true);
} }
configurations.create('mapped')
artifacts {
mapped jar.outputs.files.files.toArray()[0]
}
build.dependsOn productionMappedJar