You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 19, 2019. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
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' taskI'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
The text was updated successfully, but these errors were encountered: