Skip to content

Integration with sbt-revolver #11

@liff

Description

@liff

Right now it seems to be possible to use sbt-javaagent with sbt-revolver like this (by stealing agentOptions:

javaOptions in reStart ++= resolvedJavaAgents.value map { resolved =>
  "-javaagent:" + resolved.artifact.absolutePath + resolved.agent.arguments
}

Would it make sense to expose agentOptions as a TaskKey to enable a nice little shortcut?

That is, something like:

javaOptions in reStart ++= agentOptions.value

If this sounds acceptable, I can submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions