[
https://issues.apache.org/jira/browse/OAK-5124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15679823#comment-15679823
]
Charles Grossman edited comment on OAK-5124 at 11/19/16 8:35 PM:
-----------------------------------------------------------------
[~alex.parvulescu]
End goal is just to be able to play around with oak in something like grails 3
or ratpack.
They both use gradle not maven.
I will play around with your gradle example once I get back into town thanks
for making this. I'm out of town and can only review the code right now and
think about it.
The only thing that jumps out at me as odd is why is there a 1.7 dependency
(sourceCompatibility = 1.7) the first thing I was going to try was setting this
to 1.8.
It would be awesome to have some comments in the build.gradle explaining why
all the dependencies are needed, but what you have done already is awesome --
thanks so much, I will try to figure it out.
I thought this was the only way to get items to go to the mailing list when I
tried emailing the list a few times and kept getting emails back, tried to
email the owner of the list but never got a response back, reread the docs and
assumed this is how items get pushed to the mailing list.
was (Author: falling):
End goal is just to be able to play around with oak in something like grails 3
or ratpack.
They both use gradle not maven.
I will play around with your gradle example once I get back into town thanks
for making this. I'm out of town and can only review the code right now and
think about it.
The only thing that jumps out at me as odd is why is there a 1.7 dependency
(sourceCompatibility = 1.7) the first thing I was going to try was setting this
to 1.8.
It would be awesome to have some comments in the build.gradle explaining why
all the dependencies are needed, but what you have done already is awesome --
thanks so much, I will try to figure it out.
I thought this was the only way to get items to go to the mailing list when I
tried emailing the list a few times and kept getting emails back, tried to
email the owner of the list but never got a response back, reread the docs and
assumed this is how items get pushed to the mailing list.
> 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)