Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to override uploadArchives to allow publishing without modifying gradle.build #53

Open
rbellamy opened this issue Mar 20, 2016 · 0 comments

Comments

@rbellamy
Copy link

I'd like to fork this and add a bit of functionality for a possible PR. I am struggling with the gradle build. I realize this question might be better served in a Groovy or Gradle forum - but I'm really more interested in DbSetup than I am in learning the intricacies of Gradle, so I'll post it here first...

Specifically, I'd like to be able to override the uploadArchives task in your build.gradle to allow me to publish my altered artifact to our internal nexus server - for testing. I'd like to do this without having to modify the build.gradle file, via an init.gradle.

I can change the dependency resolver repositories using recommendation in the 42.5 Init script plugins docs.

I've found little in forums, docs or IRC to describe how I would override (or overwrite) the uploadArchives task from the build.gradle. The closest I've come (and it does NOT work) is found in this init.gradle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant