[
https://issues.apache.org/jira/browse/OAK-5124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15680903#comment-15680903
]
Alex Parvulescu commented on OAK-5124:
--------------------------------------
bq. 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.
you can consider this an artefact of the example project, java 8 is perfectly
fine here.
bq. It would be awesome to have some comments in the build.gradle explaining
why all the dependencies are needed
those are simply the dependencies of oak itself
bq. 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
please try using '[email protected]' for your questions. there is a
filter against spam, so expect some delays for your first emails, but after you
should be fine.
> 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)