How do I import a JAR file as a dependency through a full Windows URL? I'm trying to import JAR file on a network drive (labeled "H") and I cannot use Maven Central easily because of our silly firewall.
when I try to use compile files
I still get compile errors due to the dependency classes not being found.
apply plugin: 'java'
dependencies {
compile files ("H/Processes/Development/libraries/hikari-cp/HikariCP-2.4.1.jar")
}
sourceSets {
main.java.srcDir "src/main/java"
main.resources.srcDir "src/main/resources"
}
jar {
from configurations.compile.collect { entry -> zipTree(entry) }
}