vlsi / vlsi-release-plugins

A set of plugins to simplify Gradle release tasks
Apache License 2.0
41 stars 13 forks source link

UnknownTaskException: Task with name 'check' not found #40

Closed mvysny closed 3 years ago

mvysny commented 3 years ago

Hi, thank you for creating the Jandex plugin. However unfortunately I am unable to use it in my project. Having build.gradle.kts of

plugins {
    java
    id("com.github.vlsi.jandex") version "1.72"
}

and Gradle 6.7.1, the build fails with:

Caused by: org.gradle.api.UnknownTaskException: Task with name 'check' not found in root project 'vaadin-jandex'.
        at org.gradle.api.internal.tasks.DefaultTaskCollection.createNotFoundException(DefaultTaskCollection.java:102)
        at org.gradle.api.internal.tasks.DefaultTaskCollection.createNotFoundException(DefaultTaskCollection.java:46)
        at org.gradle.api.internal.DefaultNamedDomainObjectCollection.named(DefaultNamedDomainObjectCollection.java:360)
        at org.gradle.api.internal.tasks.DefaultTaskCollection.named(DefaultTaskCollection.java:112)
        at org.gradle.api.internal.tasks.DefaultTaskCollection.named(DefaultTaskCollection.java:46)
        at org.gradle.api.internal.DefaultNamedDomainObjectCollection.named(DefaultNamedDomainObjectCollection.java:368)
        at org.gradle.api.internal.tasks.DefaultTaskCollection.named(DefaultTaskCollection.java:117)
        at com.github.vlsi.jandex.JandexPlugin.apply(JandexPlugin.kt:47)
        at com.github.vlsi.jandex.JandexPlugin.apply(JandexPlugin.kt:28)
vlsi commented 3 years ago

Thanks for the report, the issue is fixed in 1.73