We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 281b739 commit dc98823Copy full SHA for dc98823
build.gradle.kts
@@ -75,6 +75,14 @@ publishing {
75
groupId = "de.n21no.realtime.pubsub"
76
artifactId = "core"
77
version = version
78
+
79
+ // Exclude the samples package
80
+ pom {
81
+ withXml {
82
+ asNode().appendNode("build").appendNode("resources").appendNode("excludes")
83
+ .appendNode("exclude", "samples/**")
84
+ }
85
86
}
87
88
repositories {
@@ -88,3 +96,8 @@ publishing {
96
89
97
90
98
99
100
+// Exclude samples directory from JAR task
101
+tasks.named<Jar>("jar") {
102
+ exclude("samples/**")
103
+}
0 commit comments