Skip to content

Commit

Permalink
didn't got why we were adding the class files instead of the jars. Mo…
Browse files Browse the repository at this point in the history
…dified to match the expected format in the build files
  • Loading branch information
eliax1996 committed Sep 4, 2024
1 parent f43c725 commit 85dab40
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ tasks.withType<Javadoc> {
(options as StandardJavadocDocletOptions).addStringOption("Xdoclint:all,-missing", "-quiet")
}

tasks.withType<Jar> {
duplicatesStrategy = DuplicatesStrategy.INCLUDE // todo: check if really required
// manifest {
// attributes["Main-Class"] = "com.example.backendapp.BackendAppApplication"
// }
}

jacoco {
toolVersion = "0.8.7"
}
Expand Down
2 changes: 1 addition & 1 deletion commons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ distributions {
main {
contents {
from("jar")
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
from(configurations.runtimeClasspath.get())

into("/") {
from("$projectDir")
Expand Down
2 changes: 1 addition & 1 deletion gcs-connector/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ distributions {
main {
contents {
from("jar")
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
from(configurations.runtimeClasspath.get())
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion s3-connector/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ distributions {
main {
contents {
from("jar")
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
from(configurations.runtimeClasspath.get())

into("/") {
from("$projectDir")
Expand Down

0 comments on commit 85dab40

Please sign in to comment.