Skip to content
This repository has been archived by the owner on May 19, 2019. It is now read-only.

Should the jar plugin disable the java plugin's jar task and archive? #34

Closed
blaines opened this issue Mar 3, 2015 · 0 comments
Closed

Comments

@blaines
Copy link

blaines commented Mar 3, 2015

When using the jar plugin with the 'java' plugin applied there are two archives in the artifacts list, one for the default 'jar' and one for the 'shadowJar' that would be generated.

If you want to use uploadArchives the task will fail unless you have existing Java code that would go into the default 'jar' task

I've disabled this behavior with:
'''
jar.enabled = false
configurations.archives.artifacts.removeAll { it.archiveTask.is jar }
'''

But wonder if the jar plugin should handle this in some form or fashion

@rtyler rtyler closed this as completed Aug 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants