I probably don't know the right technical jargon to explain this but I'm trying to write a simple Java class with a reference to classes in a third-party project with Gradle dependencies such as:
import com.third.party.library.Class;
public class Main {
public static void main(String[] args) {
// some code
}
}
where com.third.party.library.Class
is a class from a third-party project with dependencies managed using Gradle. I have access to the code of the third-party project and its build.gradle
file but I'm unsure of how to build that pipeline without using Gradle in my own code.
Can someone please give me hints on how to achieve this? Even clarity on my question can help.