Custom Gradle Plugin ID not found

前端 未结 6 561
余生分开走
余生分开走 2020-12-28 13:30

I\'m writing a Gradle plugin and I\'m failing to get the apply plugin: command to work in the Gradle script that uses the plugin. I\'m using Gradle 1.1.

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-28 13:47

    Adding to what @Bonifacio2 wrote this is a path META-INF/gradle-plugins and shows in IntelliJ as META-INF.gradle-plugins. At all costs don't make the stupid mistake I did creating this directly as a directory META-INF.gradle-plugins because you are based on another sample, and never works. Another tip is copying also from another intelliJ project as this is what is added: gradle-plugins.

提交回复
热议问题