Search Gradle plugins

Version 7.0.0 (latest)

7.0.0

Created 05 September 2023.

The New Relic Android Gradle plugin instruments classes for Android applications

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects