diff --git a/build.gradle.kts b/build.gradle.kts index 4d9d6a1..9e32668 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -103,10 +103,12 @@ publishing { publications { modules.forEach { module -> create("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"))}" + } } } }