Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaUnidocPlugin+GenJavadocPlugin is broken for Scala 2.12.15 #110

Open
ksen0byte opened this issue Jan 6, 2022 · 2 comments
Open

JavaUnidocPlugin+GenJavadocPlugin is broken for Scala 2.12.15 #110

ksen0byte opened this issue Jan 6, 2022 · 2 comments

Comments

@ksen0byte
Copy link

The following build.sbt configuration is working with Scala 2.12.10, but is broken for Scala 2.12.15:

Error:

[error] (update) sbt.librarymanagement.ResolveException: Error downloading com.typesafe.genjavadoc:genjavadoc-plugin_2.12.15:0.15

And there is indeed no Maven dependency with such artifactId and version: https://mvnrepository.com/artifact/com.typesafe.genjavadoc/genjavadoc-plugin

build.sbt :

ThisBuild / version := "0.1.0-SNAPSHOT"

ThisBuild / scalaVersion := "2.12.15"

lazy val root = (project in file("."))
  .enablePlugins(JavaUnidocPlugin, GenJavadocPlugin)
  .settings(
    name := "unidoc-plugin-test"
  )

project/build.properties:

sbt.version = 1.5.4

project/plugins.sbt:

addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0")
@SethTisue
Copy link
Member

try setting unidocGenjavadocVersion to 0.18

a pull request making that the default (instead of the current default, 0.15) would be welcome

@ksen0byte
Copy link
Author

Created a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants