0

I have a .jar file on my desktop and I would like to add it as a dependency on my project to use the existing methods on it. how do I do that?

Karen Dias
  • 11
  • 2

1 Answers1

1

If your project is gradle.
Write code in jar method of build.gradle

configurations.compile.forEach {
    zipTree(it)
}
println list
from list
with jar
logM
  • 51
  • 2
  • 7