Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaring newrelic-gradle-plugin in plugins #2

Open
szwajkowski opened this issue Aug 25, 2015 · 0 comments
Open

Declaring newrelic-gradle-plugin in plugins #2

szwajkowski opened this issue Aug 25, 2015 · 0 comments

Comments

@szwajkowski
Copy link

When I am trying to declare newrelic-gradle-plugin in plugins like:

plugins {
    id 'java'
    id 'groovy'
    id 'application'
    id 'pl.allegro.tech.build.newrelic-gradle-plugin' version '0.1.1'
}

I am getting an error:

An exception occurred applying plugin request [id: 'pl.allegro.tech.build.newrelic-gradle-plugin', version: '0.1.1']
> Failed to apply plugin [id 'pl.allegro.tech.build.newrelic-gradle-plugin']
   > Application plugin must be applied before newrelic plugin

It looks like the only proper way to do it, is to declare it via:

apply plugin: 'pl.allegro.tech.build.newrelic-gradle-plugin'

On the other hand, documentation says that PluginDependenciesSpec is incubating :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant