No build task showing

How do I get a build task to show?

thufir@mordor:~/petri$ gradle tasks

All tasks runnable from root project

Build Setup tasks

init - Initializes a new Gradle build. [incubating]
wrapper - Generates Gradle wrapper files. [incubating]

Help tasks

components - Displays the components produced by root project ‘petri’. [incubating]
dependencies - Displays all dependencies declared in root project ‘petri’.
dependencyInsight - Displays the insight into a specific dependency in root project ‘petri’.
help - Displays a help message.
model - Displays the configuration model of root project ‘petri’. [incubating]
projects - Displays the sub-projects of root project ‘petri’.
properties - Displays the properties of root project ‘petri’.
tasks - Displays the tasks runnable from root project ‘petri’.

To see all tasks and more detail, run gradle tasks --all

To see more detail about a task, run gradle help --task


Total time: 9.044 secs

This build could be faster, please consider using the Gradle Daemon:
thufir@mordor:~/petri$ cat
apply plugin: ‘java’

archiveBaseName = "HelloWorld"
version = “0.5”

thufir@mordor:~/petri$ cat src/net/petrikainulainen/gradle/
package net.petrikainulainen.gradle;

public class HelloWorld {

public static void main(String[] args) {
    System.out.println("Hello World!");