More Than Five
More Than Five

Reputation: 10429

Adding a Gradle Task for Eclipse

I have added the following the task to my build.gradle.

task runJcer {
    group 'Welcome'
    description 'Produces a greeting'

    doLast {
        println 'Tony mac chops in the house'
    }
}

However, I don't see it in the Gradle Tasks view in Eclipse. Even after I do: Gradle / Refresh Gradle Project.

enter image description here

Any ideas?

Upvotes: 0

Views: 2008

Answers (1)

Till Brychcy
Till Brychcy

Reputation: 2924

Click the little button with the label "Refresh Tasks for all Projects" in the upper right corner of the Gradle Tasks view.

Upvotes: 1

Related Questions