Skip to content

Commit 0947e59

Browse files
committed
disable testFixtures publishing
1 parent 75477c9 commit 0947e59

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ projectUrl=https://github.com/Trendyol/kediatR
66
licenceUrl=https://github.com/Trendyol/kediatR/blob/master/LICENCE
77
licence=MIT Licence
88
org.gradle.jvmargs=-XX:+UseParallelGC
9-
version=3.1.0
9+
version=3.1.1

projects/kediatr-core/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ dependencies {
1616
kotlin {
1717
jvmToolchain(11)
1818
}
19+
20+
val javaComponent = components["java"] as AdhocComponentWithVariants
21+
javaComponent.withVariantsFromConfiguration(configurations["testFixturesApiElements"]) { skip() }
22+
javaComponent.withVariantsFromConfiguration(configurations["testFixturesRuntimeElements"]) { skip() }

0 commit comments

Comments
 (0)