0 votes
1 view
in Salesforce by (11.9k points)

I want to include enterprise.jar file of salesforce in my project at build time using gradle Could anyone help me out how to include a local jar file that exists in src/main/resources folder in my project.

1 Answer

0 votes
by (31.6k points)

It looks like you want to add a jar file in the build path of the project using Gradle. Here is the code you should use according to me.

dependencies {

    runtime files('libs/a.jar', 'libs/b.jar')

    runtime fileTree('libs') { include '*.jar' }

}

This is the compile dependency. So you should put a lib directory.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...