Skip to content

Load Eclipse configuration from JAR classpath. #744

Closed
@budjb

Description

@budjb

I've looked at another issue that was reported here regarding this topic, but I don't think there's a clear answer of how to include an Eclipse configuration from a JAR.

I am specifically trying to create a standard code formatting posture as a Gradle plugin that we can include in projects. The custom Gradle plugin will configure spotless and include a custom Eclipse config and a license header template. I've given options for consumers of the plugin to define their own custom configuration files, but if that configuration is not given, I want to use the default versions I've bundled in the plugin, which would come from the classpath.

I am not quite sure how to provide the default files included in the JAR as configuration to spotless. Is there a known way to do this, or is this even supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions