Does anybody here have any experience using JOOQ with Proguard?
First I have these warnings like this:
Warning: io.r2dbc.spi.NonNullApi: can't find referenced class javax.annotation.Nonnull
Warning: io.r2dbc.spi.NonNullApi: can't find referenced class javax.annotation.meta.TypeQualifierDefault
Warning: io.r2dbc.spi.Nullable: can't find referenced class javax.annotation.Nonnull
Warning: io.r2dbc.spi.Nullable: can't find referenced class javax.annotation.meta.When
Warning: io.r2dbc.spi.Nullable: can't find referenced class javax.annotation.meta.TypeQualifierNickname
Warning: org.jooq.impl.DSL: can't find referenced class org.jetbrains.annotations.ApiStatus$Obsolete
Warning: org.jooq.impl.DSL: can't find referenced class org.jetbrains.annotations.ApiStatus$Obsolete
Warning: org.jooq.impl.JPAConverter: can't find referenced class jakarta.persistence.AttributeConverter
Warning: org.jooq.impl.Tools: can't find referenced class jakarta.persistence.Column
Warning: org.jooq.impl.Tools: can't find referenced class jakarta.persistence.Column
Warning: org.jooq.impl.Tools: can't find referenced class
jakarta.persistence.IdWarning: org.jooq.impl.Tools: can't find referenced class jakarta.persistence.Entity
Warning: org.jooq.impl.Tools: can't find referenced class jakarta.persistence.Table
Warning: org.jooq.impl.Tools: can't find referenced class jakarta.persistence.Column
Warning: org.jooq.impl.Tools: can't find referenced class jakarta.persistence.Column
Warning: org.jooq.impl.Tools: can't find referenced class
jakarta.persistence.IdWarning: org.jooq.impl.Tools: can't find referenced class jakarta.persistence.Column
Warning: org.slf4j.LoggerFactory: can't find referenced class org.slf4j.impl.StaticLoggerBinder
etc...
Some of these I'm pretty sure are safe to ignore (the slf4j ones for example), others I'm not so sure about (the jakarta.persistence warnings).
However if I do disable the warnings then I can run them app but I get:
Exception in thread "main" java.lang.IncompatibleClassChangeError: class org.jooq.FieldOrConstraint cannot extend sealed interface org.jooq.TableElement
This is running a KMP application on the desktop (if that helps)
Any help would be greatly appreciated!
-- Kevin Jones
KnowledgeSpike