Skip to content

Commit ac39617

Browse files
committed
Set task's group and task's description so gradle tasks can list the task
1 parent 74c0cd4 commit ac39617

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/groovy/com/github/mrsarm/jshell/plugin/JShellPlugin.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ class JShellPlugin implements Plugin<Project> {
2525
@Override
2626
void apply(Project project) {
2727
def jshellTask = project.tasks.create('jshell')
28+
jshellTask.group = 'application'
29+
jshellTask.description = 'Runs a JShell session with all the code and dependencies.'
2830
def classesTask = project.tasks.find { it.name == "classes" }
2931
if (classesTask) {
3032
jshellTask.dependsOn classesTask

0 commit comments

Comments
 (0)