Update Spring Boot release, adding Gradle build and cleanup

- Update Spring Boot release, Checkstyle, Mysql.
- Formatting pom.xml with sortpom-maven-plugin.
- Rename README to standard file name.
- Adding GitHub Action for Gradle.
This commit is contained in:
Patrick Baumgartner 2024-11-05 09:45:11 +01:00 committed by Dave Syer
parent dff45cf70c
commit a50bfb65bb
10 changed files with 85 additions and 66 deletions

View file

@ -46,7 +46,7 @@ class MySqlIntegrationTests {
@ServiceConnection
@Container
static MySQLContainer<?> container = new MySQLContainer<>("mysql:9.0");
static MySQLContainer<?> container = new MySQLContainer<>("mysql:9.1");
@LocalServerPort
int port;

View file

@ -36,7 +36,7 @@ public class MysqlTestApplication {
@Profile("mysql")
@Bean
static MySQLContainer<?> container() {
return new MySQLContainer<>("mysql:9.0");
return new MySQLContainer<>("mysql:9.1");
}
public static void main(String[] args) {

View file

@ -18,7 +18,6 @@ package org.springframework.samples.petclinic.vet;
import org.junit.jupiter.api.Test;
import org.springframework.util.SerializationUtils;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.assertj.core.api.Assertions.assertThat;
/**