Skip to content

Commit 7396f2e

Browse files
committed
chore: wallet interactions
1 parent 2be831e commit 7396f2e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

plugins/conventions/src/main/kotlin/com/sphereon/gradle/plugin/ServiceDeployablePlugin.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ class ServiceDeployablePlugin : Plugin<Project> {
6262
outputDir.set(project.layout.buildDirectory.dir("merged-services/META-INF/services"))
6363
}
6464

65+
project.tasks.named<Jar>("jvmJar") {
66+
duplicatesStrategy = org.gradle.api.file.DuplicatesStrategy.EXCLUDE
67+
from(project.provider { mainCompilation.output.classesDirs })
68+
from(project.provider { mainCompilation.output.resourcesDir })
69+
dependsOn("jvmMainClasses")
70+
}
71+
6572
project.tasks.register<Jar>("buildFatJar") {
6673
group = "build"
6774
description = "Build executable fat JAR for ${project.name}"

0 commit comments

Comments
 (0)