Created
September 24, 2020 06:39
-
-
Save amolpednekar/b7a739b99133642d50d8bf2015ee6832 to your computer and use it in GitHub Desktop.
Publish to repo with dependencies
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
publishing { | |
publications{ | |
myLibrary(MavenPublication) { | |
from components.java | |
} | |
} | |
repositories { | |
maven { | |
url = 'http://x.x.x.x:8082/repository/fabric-gateway-kotlin/' | |
credentials { | |
username = nexusUsername | |
password = nexusPassword | |
} | |
} | |
} | |
} | |
# Can also publish to local if you dont have a repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment