Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle init project for Scala application

Tags:

gradle

scala

I want to create a skeleton console app for Scala i.e. a single entry class with a main function that prints "Hello world".

I was able to create a Scala library init project by executing:

gradle init --type scala-library

however there seems to be no scala-application, running:

gradle init --type scala-application

The requested build setup type 'scala-application' is not supported. Supported types: 'basic', 'groovy-application', 'groovy-library', 'java-application', 'java-library', 'pom', 'scala-library'.

Is there no Scala console app template for Gradle?

like image 371
kosiara - Bartosz Kosarzycki Avatar asked Mar 19 '18 13:03

kosiara - Bartosz Kosarzycki


1 Answers

As of Gradle 6.7 the scala-application build type exists now.

like image 81
Philippe Avatar answered Sep 23 '22 20:09

Philippe