You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading a project to Scala 3.3.0 from 3.2.2, calling the unidoc task triggers the following error:
[error] constructor NoException in trait NoException: (): org.bytedeco.javacpp.annotation.NoException does not have a parameter value
It's totally possible sbt-unidoc is just surfacing the error. So apologies if I'm opening this in the wrong place, but I'm currently a bit at a loss where to start looking and I haven't been able to reproduce the error outside of the unidoc task.
This is the Java annotation mentioned in the error:
@Documented@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface NoException {
/** On override, indicates whether to use the C++ noexcept specifier or not. */booleanvalue() defaultfalse;
}
Any hints much appreciated.
The text was updated successfully, but these errors were encountered:
By comparing the output of the doc and unidoc tasks via sbt -debug, I was able to find the source.
It seems like a bad interaction with the sbt-javacpp plugin which defaults to an old version javacpp. I'm overriding that version via a setting, which works for tasks like compile and doc, but apparently for unidoc the version needs to be set on the aggregating root project as well.
After upgrading a project to Scala 3.3.0 from 3.2.2, calling the unidoc task triggers the following error:
It's totally possible sbt-unidoc is just surfacing the error. So apologies if I'm opening this in the wrong place, but I'm currently a bit at a loss where to start looking and I haven't been able to reproduce the error outside of the unidoc task.
This is the Java annotation mentioned in the error:
Any hints much appreciated.
The text was updated successfully, but these errors were encountered: