Add rubygems to gradle

Hello I am new to Gradle,

I have this build script https://github.com/c9katayama/aws-lambda-jruby/blob/master/build.gradle which package a JRuby AWS lambda function. However I cannot find a way to add a gem in the project. I found this page Base plugin which shows how to do it but I always get:

Could not find method classpath() for arguments [com.github.jruby-gradle:jruby-gradle-plugin:1.2.1] on root project ‘aws-lambda-jruby’

Do you have an idea how to add gems to my project?

Thank you

Hi,

I am one of the maintainers of that set of plugins.

Can you post a link to your code, or a code snippet here and we can try to help you with that? Alternatively ask your question on the Jruby-gradle Gitter group.