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
Labels

Comments

@DblD
Copy link

@DblD DblD commented Aug 7, 2013

Passing in target property causes GroovyCastExtention:

image

image

Versions and platform:
image

@ainzhebeikin
Copy link

@ainzhebeikin ainzhebeikin commented Aug 13, 2013

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 added a commit that referenced this issue Aug 20, 2013
fix gradle plugin - issue #574
@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Aug 20, 2013

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.