Skip to content

Commit

Permalink
disable testFixtures publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
osoykan committed Oct 30, 2024
1 parent 75477c9 commit 0947e59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ projectUrl=https://github.com/Trendyol/kediatR
licenceUrl=https://github.com/Trendyol/kediatR/blob/master/LICENCE
licence=MIT Licence
org.gradle.jvmargs=-XX:+UseParallelGC
version=3.1.0
version=3.1.1
4 changes: 4 additions & 0 deletions projects/kediatr-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ dependencies {
kotlin {
jvmToolchain(11)
}

val javaComponent = components["java"] as AdhocComponentWithVariants
javaComponent.withVariantsFromConfiguration(configurations["testFixturesApiElements"]) { skip() }
javaComponent.withVariantsFromConfiguration(configurations["testFixturesRuntimeElements"]) { skip() }

0 comments on commit 0947e59

Please sign in to comment.