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