K
K
Kirill Djonua2016-06-22 20:30:37
gradle
Kirill Djonua, 2016-06-22 20:30:37

How to properly use the new IDL and include Gradle plugins?

Hello,
I am adding two plugins .

plugins {
    id 'idea'
    id 'java'
}

Idea starts saying something went wrong:
Warning: root project 'hlidskjalf-unit-j': Unable to resolve additional project configuration.
Details: groovy.lang.MissingPropertyException: No such property: id for class: org.gradle.api.internal.artifacts.DefaultResolvedArtifact
Possible solutions: file

Warning: root project 'hlidskjalf-unit-j': Unable to resolve additional project configuration.
Details: groovy.lang.MissingPropertyException: No such property: id for class: org.gradle.api.internal.artifacts.DefaultResolvedArtifact
Possible solutions: file

I open this link and read:
To apply a core plugin, the short name can be used:

those. the version parameter is optional, the entry is valid.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question