Skip to content

Commit

Permalink
Upgrade to Flyway 7.9.1 (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilopmar committed May 20, 2021
1 parent 231cbf0 commit 2e7cb4d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,20 @@ final class ScannerSubstitutions {
* Replaces the original method that tries to detect migrations using reflection techniques that are not allowed
* in native mode.
*
* @see org.flywaydb.core.internal.scanner.Scanner#Scanner(Class, Collection, ClassLoader, Charset, boolean, ResourceNameCache, LocationScannerCache)
* @see org.flywaydb.core.internal.scanner.Scanner#Scanner(Class, Collection, ClassLoader, Charset, boolean, boolean, ResourceNameCache, LocationScannerCache, boolean)
*/
@SuppressWarnings("checkstyle:javadocmethod")
@Substitute
public ScannerSubstitutions(Class<?> implementedInterface, Collection<Location> locations, ClassLoader classLoader,
Charset encoding, boolean stream, ResourceNameCache resourceNameCache, LocationScannerCache locationScannerCache) {
public ScannerSubstitutions(
Class<?> implementedInterface,
Collection<Location> locations,
ClassLoader classLoader,
Charset encoding,
boolean detectEncoding,
boolean stream,
ResourceNameCache resourceNameCache,
LocationScannerCache locationScannerCache,
boolean throwOnMissingLocations) {
ResourceAndClassScanner scanner = new MicronautPathLocationScanner(locations);

Collection resources = scanner.scanForResources();
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ micronautTestVersion=2.3.2
groovyVersion=3.0.8
spockVersion=2.0-M5-groovy-3.0

flywayVersion=7.7.3
flywayVersion=7.9.1
gormHibernateVersion=7.0.3.RELEASE

title=Micronaut Flyway
Expand Down

0 comments on commit 2e7cb4d

Please sign in to comment.