Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ plugins {

id "com.github.spotbugs" version '6.4.4' apply false
id 'org.scoverage' version '8.1' apply false
id 'com.gradleup.shadow' version '8.3.9' apply false
id 'com.gradleup.shadow' version '9.2.2' apply false
id 'com.diffplug.spotless' version "8.0.0"
}

Expand Down Expand Up @@ -713,6 +713,17 @@ subprojects {
exclude 'junit-platform.properties'
}

configurations {
consumableTestArtifacts {
canBeConsumed = true
canBeResolved = false
}
}

artifacts {
consumableTestArtifacts testJar
}

task testSrcJar(type: Jar, dependsOn: testJar) {
archiveClassifier = 'test-sources'
from "$rootDir/LICENSE"
Expand Down Expand Up @@ -3399,7 +3410,7 @@ project(':jmh-benchmarks') {
implementation project(':raft')
implementation project(':clients')
implementation project(':coordinator-common')
implementation project(':coordinator-common').sourceSets.test.output
implementation project(path: ':coordinator-common', configuration: 'consumableTestArtifacts')
implementation project(':group-coordinator')
implementation project(':group-coordinator:group-coordinator-api')
implementation project(':metadata')
Expand All @@ -3410,10 +3421,10 @@ project(':jmh-benchmarks') {
implementation project(':connect:api')
implementation project(':connect:transforms')
implementation project(':connect:json')
implementation project(':clients').sourceSets.test.output
implementation project(':core').sourceSets.test.output
implementation project(':server-common').sourceSets.test.output
implementation project(':metadata').sourceSets.test.output
implementation project(path: ':clients', configuration: 'consumableTestArtifacts')
implementation project(path: ':core', configuration: 'consumableTestArtifacts')
implementation project(path: ':server-common', configuration: 'consumableTestArtifacts')
implementation project(path: ':metadata', configuration: 'consumableTestArtifacts')

implementation libs.jmhCore
annotationProcessor libs.jmhGeneratorAnnProcess
Expand Down