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
13 changes: 13 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,15 @@ subprojects {
tasks.register('uploadArchives').configure { dependsOn(publish) }
}

if (project.path == ':streams:integration-tests') {
// This module publishes test artifacts, but its main source set is empty.
// Gradle module metadata cannot represent a publication with the main
// component removed, so disable metadata generation for this publication.
tasks.withType(GenerateModuleMetadata) {
enabled = false
}
}

tasks.withType(AbstractArchiveTask).configureEach {
reproducibleFileOrder = false
preserveFileTimestamps = true
Expand Down Expand Up @@ -434,6 +443,10 @@ subprojects {
artifact task
}

if (project.path == ':streams:integration-tests') {
artifacts.removeIf { it.classifier == null }
}

artifactId = base.archivesName.get()
pom {
name = 'Apache Kafka'
Expand Down