New to Gradle here. Sorry about the really basic question.
I am building a web app. I tried the tutorial to build, run locally, and deploy the war. All works fine.
The problem I am having is adding some local jar files. I tried adding my jar files to the src/main/resources directory. They get added to the app root of the war file but the app won’t compile because they’re not in the build classpath. Rather than kludge a result, I thought I’d ask what the correct solution is.
So, in brief, I want to add some local jar files. These jar files must:
- work at compile time
- be included in the war
- be accessible when the war is deployed