Reputation: 25
I created a simple gradle plugin according to the documentation.
class MyBuild implements Plugin<Project> {
@Override
void apply(Project project) {
project.task("test") {
doLast{
println 'Yeaaa boy!'
}
}
}
}
apply plugin: MyBuild
But the plugin does not appear at the Idea Gradle toolar:
I have also tried to add the following code, but it does not make any diffirence:
idea {
project {
jdkName = '1.8'
languageLevel = '1.8'
}
apply plugin: MyBuild
}
What should I do to make it appear there?
Upvotes: 0
Views: 170
Reputation: 16391
What exactly do you expect to see there? For example, I see the custom task, that the plugin adds here, in Gradle tool window:
Upvotes: 1