Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonglau committed Jan 17, 2023
1 parent a16cd2a commit e9d342b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
10 changes: 10 additions & 0 deletions build-and-test-all-mysql-kafka-spring-boot-3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#! /bin/bash

set -e

export DATABASE=mysql
export MODE=binlog
export BROKER=kafka
export COORDINATOR=zookeeper

./_build-and-test-all.sh -P springBootVersion=3.0.1
10 changes: 7 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ apply plugin: "io.eventuate.plugins.gradle.publish.EventuatePublish"

allprojects {

sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
mavenCentral()
maven { url "https://repo.spring.io/milestone" }
Expand All @@ -45,6 +42,13 @@ allprojects {
}
}

subprojects { project ->
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(project.ext.get("springBootVersion").startsWith("3") ? 17 : 8));
}
}
}

gradle.projectsEvaluated {
task aggregateJavaDocs(type: Javadoc) {
Expand Down

0 comments on commit e9d342b

Please sign in to comment.