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

Generate gradle.rb #105

Merged
merged 4 commits into from Apr 14, 2015
Merged

Generate gradle.rb #105

merged 4 commits into from Apr 14, 2015

Conversation

rtyler
Copy link
Member

@rtyler rtyler commented Apr 14, 2015

This feature needs more testing and is currently marked as incubating since it'll probably be in flux for a couple releases

R. Tyler Croy and others added 3 commits April 13, 2015 23:19
This provides a task which can generate a `gradle.rb` which is an executable
script for running JRuby with an appropriate classpath and GEM_HOME

Fixes #29
@rtyler
Copy link
Member Author

rtyler commented Apr 14, 2015

here's an example of its usecase that I have most immediately:

task prepareRubyStub(type: GenerateGradleRb) {
    description 'Prepare a Ruby stub binary for executing protoc properly'
    group 'Protobuf'
    baseName 'jruby'
    /* Shove this in build directory right next to our JRuby binstubs */
    destinationDir file("${jruby.gemInstallDir}/bin")
    dependsOn jrubyPrepare
}

rtyler pushed a commit that referenced this pull request Apr 14, 2015
@rtyler rtyler merged commit a7cf6f5 into master Apr 14, 2015
@rtyler rtyler deleted the issues/29-generategradlerb branch April 14, 2015 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants