The 'install' task is uploading to my remote repositories


(Russ Egan) #1

Using 8a. My project is pretty straightforward. Simple one jar subproject in a multi-project build. Has the maven plugin installed. I’ve got a remote repo and the mavenLocal() repo configured. doing a ‘gradle install’ uploads to the remote repository. It appears to also be installing to my local maven cache…but it shoudn’t be doing the upload, right? I don’t see the “uploadXXX” task in the output as it executes…


(Peter Niederwieser) #2

No, it shouldn’t. Maybe you’ve accidentally configured the ‘install’ task with a remote repository?


(Russ Egan) #3

Yeah, maybe I have. :slight_smile:

tasks.withType(Upload) is a powerful thing…too powerful for me apparently. Sorry for the waste of time.