[
https://issues.apache.org/jira/browse/OAK-5124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15679071#comment-15679071
]
Alex Parvulescu commented on OAK-5124:
--------------------------------------
[~Falling] here's a quick example I put together using gradle and a simple unit
test I took from oak-jcr. [0]
I'm not sure what your end goal is, but if you have the choice I would advise
to stick with maven, as there are a lot more chances people will provide help
if you are closer to the tools everyone uses. Also, for more help getting
started I think it would be best to reach out to the mailing list directly
instead of opening Jira doc issues. hope this helps!
[0] https://github.com/stillalex/oak-gradle-example
> How do i include jackrabbit oak as a dependency inside a build.gradle file?
> And then use it in your project?
> ------------------------------------------------------------------------------------------------------------
>
> Key: OAK-5124
> URL: https://issues.apache.org/jira/browse/OAK-5124
> Project: Jackrabbit Oak
> Issue Type: Documentation
> Components: examples
> Affects Versions: 1.4.10
> Reporter: Charles Grossman
> Priority: Minor
>
> I've tried a few different things like
> buildscript {
> repositories {
> jcenter()
> mavenCentral()
> }
> dependencies {
>
> classpath 'org.apache.jackrabbit:oak-jcr:1.0.0'
> classpath 'javax.jcr:jcr:2.0'
> }
> }
> //these fail
> apply plugin: 'org.apache.jackrabbit:oak-jcr:1.0.0'
> apply plugin: 'javax.jcr:jcr:2.0'
> repositories {
> jcenter()
> mavenCentral()
> }
> but not really sure if this is the right idea at all.
> Does anyone have some github examples or have done any work with Gradle and
> jackrabbit Oak?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)