Skip to content

Is there a example for a extension use maven? #11116

Answered by laurit
darknesstm asked this question in Q&A
Discussion options

You must be logged in to vote

so can give me a example use maven build?

No, we don't have one.
One thing to be careful when using maven for building the extension is that for InstrumentationModule classes gradle build has plugins that modify the compiled class files. If you are not using InstrumentationModule in your extension then building with maven should work fine, you'll just have to find a maven plugin that generates the SPI file from @AutoService annotations or manually generate the. If you wish to use InstrumentationModule then you will have to implement getAdditionalHelperClassNames method.

When I directly execute ./gradlew build as instructed, it prompts an error "Could not resolve all files for configura…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@darknesstm
Comment options

Answer selected by darknesstm
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