Skip to content

Commit

Permalink
Declare an Java9 JPMS Automatic-Module-Name for kafka (reactor#94)
Browse files Browse the repository at this point in the history
This includes tools and samples artifacts.

See reactor/reactor#667
  • Loading branch information
simonbasle committed May 6, 2019
1 parent 699870f commit 058eb4d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ configure(rootProject) {
archivesBaseName = 'reactor-kafka'
description = 'Reactor Kafka: A reactive API for Apache Kafka'

jar {
manifest {
attributes 'Automatic-Module-Name': 'reactor.kafka'
}
}

artifacts {
archives sourcesJar
archives javadocJar
Expand All @@ -169,6 +175,12 @@ project(':reactor-kafka-tools') {
}
}

jar {
manifest {
attributes 'Automatic-Module-Name': 'reactor.kafka.tools'
}
}

artifacts {
archives sourcesJar
archives javadocJar
Expand All @@ -195,6 +207,12 @@ project(':reactor-kafka-samples') {
}
}

jar {
manifest {
attributes 'Automatic-Module-Name': 'reactor.kafka.samples'
}
}

artifacts {
archives sourcesJar
archives javadocJar
Expand Down

0 comments on commit 058eb4d

Please sign in to comment.