-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
Executing the command ./gradlew :showkase:javaDocReleaseGeneration generate a gradle error :
> Task :showkase:compileReleaseKotlin
w: Argument -Xopt-in is deprecated. Please use -opt-in instead
WARN: Could not read file: /Showkase/showkase-annotation/build/libs/showkase-annotation.jar!/com/airbnb/android/showkase/annotation/ScreenshotConfig.class; size in bytes: 1100; file type: CLASS
java.lang.UnsupportedOperationException: PermittedSubclasses requires ASM9
at org.jetbrains.org.objectweb.asm.ClassVisitor.visitPermittedSubclass(ClassVisitor.java:266)
at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:684)
[...]
> Task :showkase:javaDocReleaseGeneration FAILED
Initializing plugins
Dokka is performing: documentation for :showkase
Validity check
Creating documentation models
FAILURE: Build failed with an exception.
In 1.0.5 tag, the command pass correctly but not on master (commit b722d73)
This tasks executed when publishing the dependency on a maven repository and could be a blocker for the next release of the libs.
Changing the sealed interface ScreenshotConfig to a simple interface ScreenshotConfig and changing the file WriterUtils file by adding an else in the when, make it work. Not a cool solution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels