Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing in target property causes GroovyCastExtention #574

Closed
DblD opened this issue Aug 7, 2013 · 2 comments
Closed

Passing in target property causes GroovyCastExtention #574

DblD opened this issue Aug 7, 2013 · 2 comments

Comments

@DblD
Copy link

DblD commented Aug 7, 2013

Passing in target property causes GroovyCastExtention:

image

image

Versions and platform:
image

@ainzhebeikin
Copy link

apply plugin: 'flyway'

flyway {
    ...
    initVersion = 5
}

This also causes:

org.codehaus.groovy.runtime.typehandling.GroovyCastException
Cannot cast object '5' with class 'java.lang.String' to class 'com.googlecode.flyway.core.api.MigrationVersion'

axelfontaine pushed a commit that referenced this issue Aug 20, 2013
@axelfontaine
Copy link
Contributor

Thanks for reporting this guys. And thank you @pwielgolaski for the fix!! Merged.

Cheers
Axel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants