You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Charles Grossman (JIRA)" <ji...@apache.org> on 2016/11/17 14:11:59 UTC

[jira] [Created] (OAK-5124) How do i include jackrabbit oak as a dependency inside a build.gradle file? And then use it in your project?

Charles Grossman created OAK-5124:
-------------------------------------

             Summary: 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)