“The build file” is the “build.gradle” file that you would be editing to add this local dependency. So if your .jar file was in the same folder with build.gradle, then you could just use: compile files(‘my_local.jar’) If it was in a subdirectory of your project you could use: compile files(‘project_subdir/my_local.jar’)
On Jan 10, 2023, at 9:38 AM, Amn Ojee Uw <amnoje...@gmail.com> wrote:
Thanks for the help, I really appreciate.
In the link you suggested, the statement - '
dependencies {
compile files('path/local_dependency.jar')
}
Where path is a directory path on your filesystem ...
The path can be relative to the build file.
I don't understand what meant by 'the build', can you help me?
The attached pic show the project tree, that, I hope, will give an idea as to what the path looks like.
Thanks!!
On 2023-01-08 4:11 a.m., Laszlo
Kishalmi wrote:
https://riptutorial.com/gradle/example/8349/add-a-local-jar-file-dependency
On 1/7/23 19:41, Amn Ojee Uw wrote:
Hello!
Can anyone tell how to add a local jar file to a Gradle-Java
with Gradle->Web Application using NetBeans 16?
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<Screenshot from 2023-01-08 05-58-10.png> ---------------------------------------------------------------------To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.orgFor additional commands, e-mail: users-h...@netbeans.apache.orgFor further information about the NetBeans mailing lists, visit:https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
|