rtsypuk
02/20/2018, 10:07 PMjamie-purchase
02/20/2018, 10:08 PMdependencies {
...
compile 'com.github.kevinsawicki:http-request:6.0'
...
}
but I can't find an example of the syntax for path/classpath to/for local jarrtsypuk
02/20/2018, 10:16 PMjamie-purchase
02/20/2018, 10:18 PMMarcelus Trojahn
02/21/2018, 12:56 PMuploadArchives {
repositories {
flatDir dir: "${System.getProperty('user.home')}/.gradle/repos"
}
}
Now you have that directive, use it to compile and upload your class to the repo.
On the other project, add this to the repositories:
repositories {
flatDir dirs: "${System.getProperty('user.home')}/.gradle/repos/"
mavenCentral()
}
}
compile("com.company:com.company.package:0.0.1")
So you can have versioning,etc...