Hi, I have a ear project that has a couple of war files. I want to add a folder named properties and add some property files in them. in the build.gradle , under the dependencies section i tried adding like the below
dependencies
{deploy project (path: ‘:properties’, configuration: ‘dir’) }
I got build error as its not able to recognise the ‘dir’ configuration.
Is it possible to add a folder inside a ear project and if yes what would be the syntax for build.gradle.
Do you have a project in your build with name properties
and a consumable configuration dir
?
If not, your tried configuration makes zero sense at all.
Assuming this is not the case, you need to share more details.
If you can place those property files you want to include freely, then simply put them into src/main/application/dir
to have them in the resulting ear in the dir
directory like documented at The Ear Plugin.