TheMrMilchmann / gradle-curseforge-publish

A Gradle plugin that provides support for publishing artifacts to CurseForge.
https://plugins.gradle.org/plugin/io.github.themrmilchmann.curseforge-publish
MIT License
4 stars 0 forks source link

Enable execution optimizations #17

Closed TheMrMilchmann closed 1 year ago

TheMrMilchmann commented 1 year ago

Execution optimizations are currently disabled because publication.publishableFiles cannot be resolved. This should be fixed.

> Task :publishCurseForgePublicationToCurseForgeRepository
Execution optimizations have been disabled for task ':publishCurseForgePublicationToCurseForgeRepository' to ensure correctness due to the following reasons:
  - In plugin 'io.github.themrmilchmann.curseforge-publish' type 'io.github.themrmilchmann.gradle.publish.curseforge.tasks.PublishToCurseForgeRepository' property 'publication.publishableFiles' cannot be resolved:  Cannot convert the provided notation to a File or URI: io.github.themrmilchmann.gradle.publish.curseforge.internal.artifacts.PublishArtifactBasedCurseForgeArtifact@7c785ad0. The following types/formats are supported:  - A String or CharSequence path, for example 'src/main/java' or '/usr/include'. - A String or CharSequence URI, for example 'file:/usr/include'. - A File instance. - A Path instance. - A Directory instance. - A RegularFile instance. - A URI or URL instance. - A TextResource instance. Reason: An input file collection couldn't be resolved, making it impossible to determine task inputs. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#unresolvable_input for more details about this problem.