File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 5
5
6
6
set -ex
7
7
8
- export KAFKA_VERSION=3.9.1
8
+ # Extract apacheKafkaVersion from gradle.properties
9
+ export KAFKA_VERSION=$( grep " ^apacheKafkaVersion" ../gradle.properties | cut -d' =' -f2)
9
10
./kafka_test_setup.sh
10
11
11
12
bundle exec rspec -fd
Original file line number Diff line number Diff line change @@ -37,10 +37,9 @@ java {
37
37
sourceCompatibility = JavaVersion . VERSION_1_8
38
38
}
39
39
40
- // given https://docs.confluent.io/current/installation/versions-interoperability.html matrix
41
- // Confluent Platform 7.9.x is Apache Kafka 3.9.x
42
- String confluentKafkaVersion = ' 7.9.1'
43
- String apacheKafkaVersion = ' 3.9.1'
40
+ // Versions are defined in gradle.properties
41
+ String confluentKafkaVersion = project. property(' confluentKafkaVersion' )
42
+ String apacheKafkaVersion = project. property(' apacheKafkaVersion' )
44
43
45
44
repositories {
46
45
mavenCentral()
Original file line number Diff line number Diff line change 1
1
org.gradle.daemon =false
2
+
3
+ # given https://docs.confluent.io/current/installation/versions-interoperability.html matrix
4
+ # Confluent Platform 7.9.x is Apache Kafka 3.9.x
5
+ # Kafka version used by both build.gradle and CI scripts
6
+ apacheKafkaVersion =3.9.1
7
+ confluentKafkaVersion =7.9.1
You can’t perform that action at this time.
0 commit comments