We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm encountering this error:
* What went wrong: Execution failed for task ':onlyFFmerge'. > Could not find property 'MergeOp' on task ':onlyFFmerge'.
This is my script:
buildscript { repositories { mavenCentral() } dependencies { classpath "org.ajoberstar:grgit:0.2.2" } } import org.ajoberstar.grgit.* task onlyFFmerge(){ doLast{ def repo = Grgit.open(".") repo.merge(mode: MergeOp.Mode.ONLY_FF) // This works fine: // repo.merge(head: "myBranch") } }
Is this a bug or am I missing something?
Thanks.
The text was updated successfully, but these errors were encountered:
The *Op classes aren't in the org.ajoberstar.grgit package. You'll need to import org.ajoberstar.grgit.operation.* too.
*Op
org.ajoberstar.grgit
org.ajoberstar.grgit.operation.*
Sorry, something went wrong.
No branches or pull requests
Hi,
I'm encountering this error:
This is my script:
Is this a bug or am I missing something?
Thanks.
The text was updated successfully, but these errors were encountered: