Search Gradle plugins

com.shysteph.application-agent

A Gradle plugin for hooking up a Java Agent. This plugin will attach the agent you specify to the `run`, `test` and `installDist` tasks. To use it, add an `agent` dependency to your dependencies like `dependencies { agent("com.foo:bar:1.2.3") }`.

https://github.com/shysteph/application-agent-gradle-plugin

Sources: https://github.com/shysteph/application-agent-gradle-plugin

Version 1.0.18 (latest)

Created 30 January 2017.

A Gradle plugin for hooking up a Java Agent. This plugin will attach the agent you specify to the `run`, `test` and `installDist` tasks. To use it, add an `agent` dependency to your dependencies like `dependencies { agent("com.foo:bar:1.2.3") }`. Credit for initial implementation to MicahZoltu https://github.com/zoltu/application-agent-gradle-plugin.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.shysteph.application-agent") version "1.0.18"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.shysteph.application-agent:com.shysteph.application-agent.gradle.plugin:1.0.18")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.shysteph.application-agent")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.shysteph.application-agent:com.shysteph.application-agent.gradle.plugin:1.0.18")
      }
    }
    
    apply(plugin = "com.shysteph.application-agent")
  • Applying plugins to all subprojects .