Skip to content

How to add a new library in webauthn-server-core? #282

Answered by emlun
tarun14110 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! I think that should work, assuming your libtest project is a subdirectory of the webauthn-server-core/ directory. Otherwise you'll have to use parent traversal (../../libtest/target/libtest.jar) or an absolute path to your libtest project directory.

You can run Gradle with the --debug option to check if your JAR makes it onto the classpath. For example:

$ ./gradlew :webauthn-server-core:cleanCompileJava
$ ./gradlew :webauthn-server-core:compileJava --debug

For me, this includes one extremely long line that starts with:

2023-05-16T11:10:45.177+0200 [DEBUG] [org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler] Compiler arguments: --release 8 [... rest of line omitted]

and co…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tarun14110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants