Skip to content

Commit bd9f7fe

Browse files
authored
Manifest to contain implementation version (#7)
1 parent 845547b commit bd9f7fe

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ integration-test:
2929

3030
.PHONY: build # Builds artifacts
3131
build:
32-
@./gradlew clean build
32+
@./gradlew clean build -Pversion=$(VERSION)
3333

3434
.PHONY: static-analysis # Analyzes the build
3535
static-analysis:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This connector helps with that use case.
2121

2222
Use the version of your choice.
2323

24-
e.g. `curl -O https://repo1.maven.org/maven2/com/segence/kafka/connect/kafka-connect-kafka/0.1.0-dev.4/kafka-connect-kafka-0.1.0-dev.4.jar`
24+
e.g. `curl -O https://repo1.maven.org/maven2/com/segence/kafka/connect/kafka-connect-kafka/0.1.0-dev.6/kafka-connect-kafka-0.1.0-dev.6.jar`
2525

2626
2. Copy it under the CLASSPATH of the Kafka Connect installation so that the plugin can be loaded.
2727

gradle/java.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ java {
99
targetCompatibility = JavaVersion.VERSION_17
1010
}
1111

12+
jar {
13+
manifest {
14+
attributes(
15+
'Implementation-Version': version
16+
)
17+
}
18+
}
19+
1220
test {
1321
useJUnitPlatform {
1422
testLogging {

0 commit comments

Comments
 (0)