-
-
Save martinbonnin/ccf0a6a68d2673351af54cb89ff6d0dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories { | |
// Usually you'll have mavenCentral() there but this is just a shortcut | |
// to the full version | |
maven("https://repo1.maven.org/maven2/") | |
} | |
dependencies { | |
// GAV coordinates goes here | |
// This all works because there's a file at | |
// https://repo1.maven.org/maven2/com/squareup/okhttp3/okhttp/4.9.1/okhttp-4.9.1.jar | |
// The general maven layout is: | |
// ${group.replace(".", "/")}/$artifact/$version/$artifact-$version.jar | |
// ${group.replace(".", "/")}/$artifact/$version/$artifact-$version.pom | |
// ... | |
implementation("com.squareup.okhttp3:okhttp:4.9.1") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment