9
0
mirror of https://github.com/Auxilor/EcoMobs.git synced 2025-12-21 07:59:28 +00:00

fix: Use component from subproject

This commit is contained in:
DaRacci
2022-09-26 14:44:08 +10:00
parent 1eee00b88e
commit 38629407bc

View File

@@ -14,13 +14,14 @@ base {
}
dependencies {
implementation(project(":eco-core"))
project(":eco-core").dependencyProject.subprojects {
implementation(this)
}
}
allprojects {
apply(plugin = "java")
apply(plugin = "kotlin")
apply(plugin = "maven-publish")
apply(plugin = "com.github.johnrengelman.shadow")
repositories {
@@ -137,7 +138,9 @@ tasks {
}
publishing {
this.publications.register("maven", MavenPublication::class) {
from(components["java"])
publications {
register("maven", MavenPublication::class) {
from(subprojects.first { it.name == "core-plugin" }.components["java"])
}
}
}