Upgrade to Flyway 10.18.0
Closes gh-42295
This commit is contained in:
@@ -225,6 +225,7 @@ public class FlywayAutoConfiguration {
|
|||||||
* @param configuration the configuration
|
* @param configuration the configuration
|
||||||
* @param properties the properties
|
* @param properties the properties
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("removal")
|
||||||
private void configureProperties(FluentConfiguration configuration, FlywayProperties properties) {
|
private void configureProperties(FluentConfiguration configuration, FlywayProperties properties) {
|
||||||
// NOTE: Using method references in the mapper methods can break
|
// NOTE: Using method references in the mapper methods can break
|
||||||
// back-compatibility (see gh-38164)
|
// back-compatibility (see gh-38164)
|
||||||
|
|||||||
@@ -597,10 +597,13 @@ public class FlywayProperties {
|
|||||||
this.cleanDisabled = cleanDisabled;
|
this.cleanDisabled = cleanDisabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||||
|
@DeprecatedConfigurationProperty(since = "3.4.0")
|
||||||
public boolean isCleanOnValidationError() {
|
public boolean isCleanOnValidationError() {
|
||||||
return this.cleanOnValidationError;
|
return this.cleanOnValidationError;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||||
public void setCleanOnValidationError(boolean cleanOnValidationError) {
|
public void setCleanOnValidationError(boolean cleanOnValidationError) {
|
||||||
this.cleanOnValidationError = cleanOnValidationError;
|
this.cleanOnValidationError = cleanOnValidationError;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
class FlywayPropertiesTests {
|
class FlywayPropertiesTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SuppressWarnings("removal")
|
||||||
void defaultValuesAreConsistent() {
|
void defaultValuesAreConsistent() {
|
||||||
FlywayProperties properties = new FlywayProperties();
|
FlywayProperties properties = new FlywayProperties();
|
||||||
Configuration configuration = new FluentConfiguration();
|
Configuration configuration = new FluentConfiguration();
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ bom {
|
|||||||
releaseNotes("https://www.elastic.co/guide/en/elasticsearch/reference/current/release-notes-{version}.html")
|
releaseNotes("https://www.elastic.co/guide/en/elasticsearch/reference/current/release-notes-{version}.html")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
library("Flyway", "10.17.3") {
|
library("Flyway", "10.18.0") {
|
||||||
group("org.flywaydb") {
|
group("org.flywaydb") {
|
||||||
modules = [
|
modules = [
|
||||||
"flyway-commandline",
|
"flyway-commandline",
|
||||||
|
|||||||
Reference in New Issue
Block a user