Search Gradle plugins

Version 7.6.1 (latest)

7.6.1

Created 17 October 2024.

The New Relic Android Gradle plugin instruments classes for Android applications

Using the plugins DSL:

plugins {
  id("com.newrelic.agent.android") version "7.6.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.newrelic.agent.android:gradle:7.6.1")
  }
}

apply(plugin = "com.newrelic.agent.android")

Using the plugins DSL:

plugins {
  id "com.newrelic.agent.android" version "7.6.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.newrelic.agent.android:gradle:7.6.1"
  }
}

apply plugin: "com.newrelic.agent.android"

Learn how to apply plugins to subprojects