Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-6448

Set-java-compatibility-version-in-build-gradle

    XMLWordPrintable

Details

    • DOC-2020-S6-Apr05, DOC-2020-S7-Apr19

    Description

      https://couchbase.slack.com/archives/DS1QC61RV/p1584552639006100

      Gradle needs to enforce minimum Java version compatibility at 1.8.

       

      kotlinOptions { jvmTarget = '1.8' }
       
      compileOptions
      { targetCompatibility 1.8 
      sourceCompatibility 1.8

       

      Also correct order of source repositories: 

      repositories {
       maven
      { url " [https://mobile.maven.couchbase.com/maven2/dev/] " }
      google()
       jcenter()
       }
      

      Attachments

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

        Activity

          People

            Ian.bridge Ian Bridge
            Ian.bridge Ian Bridge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty