Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4577

Gradle task doesn't appear to build scala driver API docs

      Summary

      The "gradlew docs" command and target, run from the root of the mongodb-java-driver repository, is expected to generates API documentation for the JVM drivers in the build/docs directory, but it currently omits the scala API docs.

      Here's the output from the run (I think it only shows scala tasks since the rest of the API docs were already built in my directory
      :

      ❯ ./gradlew clean docs
      Starting a Gradle Daemon (subsequent builds will be faster)
      
      > Task :bson-scala:compileScala
      [Warn] : 17 deprecations (since 2.13.0); re-run with -deprecation for details
      one warning found
      
      > Task :driver-scala:compileScala
      [Warn] : 2 deprecations
      [Warn] : 108 deprecations (since 2.13.0)
      [Warn] : 110 deprecations in total; re-run with -deprecation for details
      three warnings found
      
      BUILD SUCCESSFUL in 1m 18s
      38 actionable tasks: 36 executed, 2 up-to-date
      

      Here's the directory listing in build/docs:

      bson/
      mongodb-driver-core/
      mongodb-driver-sync/
      mongodb-driver-legacy/
      mongodb-driver-reactivestreams/
      

      This appears to be missing the scala API documentation directory.

      Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).

      Only tested the gradle script on the r4.5.0 branch since the r4.4.0 version appears to require a version of the JRE I don't currently have installed.

      How to Reproduce

      Steps to reproduce. If possible, please include a Short, Self Contained, Correct (Compilable), Example.

      Additional Background

      Please provide any additional background information that may be helpful in diagnosing the bug.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            chris.cho@mongodb.com Christopher Cho (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: