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

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.

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.shysteph:application-agent:1.0.18"
  }
}

apply plugin: "com.shysteph.application-agent"

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.shysteph:application-agent:1.0.18")
  }
}

apply(plugin = "com.shysteph.application-agent")

Learn how to apply plugins to subprojects