Skip to content

Commit

Permalink
fix: try to fix the packages bugggg
Browse files Browse the repository at this point in the history
  • Loading branch information
DuoDuoJuZi committed Dec 25, 2024
1 parent 40917e9 commit 1dd2544
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,12 @@ publishing {
publications {
modules.forEach { module ->
create<MavenPublication>("maven-${module.capitalize()}") {
from(components["java"])
artifact(tasks.named("shadowJar").get()) {
//from(components["java"])
groupId = group.toString()
artifactId = "$module"
version = "${properties("version")}-${LocalDateTime.now().format(DateTimeFormatter.ofPattern("dd-MM-yy-hhmmss"))}"
}
}
}
}
Expand Down

0 comments on commit 1dd2544

Please sign in to comment.