Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-30

Feature Request: Simplify importing CBL source from Github

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Won't Fix
    • Minor
    • 2.7.0
    • None
    • Java-Android
    • Security Level: Public
    • None

    Description

      *All* of the instructions on
      https://developer.couchbase.com/documentation/mobile/2.0/guides/couchbase-lite/tech-notes/index.html?language=java
      can currently be streamlined and elimenated to automatically be included in any of my projects (providing you have correct Gradle scripts) at the Github link as follows:

      1. In Android Studio choose 'New Project from Version Control -->Git' and supply the *git url*: https://github.com/couchbase/couchbase-lite-android.git

      That's it! Nothing else to do!

      This will create a CBL library project in Android Studio which of course allows editing of the source.
      1b. Then in any other project/app, simply make that project dependent on the CBL github project! The same CBL lib project (with any custom modifications, breakpoints, etc) becomes available to any Android project I wish.
      1c. Android Studio (3.x) offers to automatically install missing components, including ndk.

      Currently, this almost works. But AS complains about it not being correctly setup for Gradle.
      So a little bit of [happy] Gradle at the aforementioned git url, and you have greatly simplified including (native) cbl sources, reusable, in any Android Studio project.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            blake.meike Blake Meike
            daniel.petersen Daniel Petersen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty