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
when attempting to publish a publication with configTar as an artifact, gradle throws an error that the file is not present, since the file is JUST the extension:
> Failed to publish publication 'config' to repository 'maven-config'
> Invalid publication 'config': artifact file does not exist: '.asset.config.tgz'
the gradle docs even include information about applying the java plugin:
Why are you using the Java plugin?
The Java plugin adds a number of default values for the archive tasks. You can use the archive tasks without using the Java plugin, if you like. You will need to provide values for some additional properties.
proposed fixes:
A. apply the java-base plugin in the config plugin. considering the primary (but not only) audience of the config tar task is java applications, this isn't horrible
B. fully configure the file name of the configTar task, similar to how the distTar task does it
The text was updated successfully, but these errors were encountered:
// technically it needs the java-base plugin
issue
when attempting to publish a publication with
configTar
as an artifact, gradle throws an error that the file is not present, since the file is JUST the extension:considering we're:
java
pluginconfigTar
we're ending up producing a filename that's just the extension due to the
AbstractArchiveTask::getArchiveName
methodthe gradle docs even include information about applying the
java
plugin:proposed fixes:
java-base
plugin in the config plugin. considering the primary (but not only) audience of the config tar task is java applications, this isn't horribleconfigTar
task, similar to how thedistTar
task does itThe text was updated successfully, but these errors were encountered: