Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle scala project on intellij

How do we create a new gradle project with scala ? For a maven scala project we had the help of archtypes. What is the similar technique when I change my build script into gradle so that I can get a readymade project structure to go ahead and add my scala files into the project without adding src folders etc.

like image 587
D P Avatar asked Mar 26 '18 18:03

D P


1 Answers

You can leverage the build init plugin for this: gradle init --type scala-library

This will create a project in the current directory, setup the Gradle wrapper and generate basic build files.

like image 56
Louis Jacomet Avatar answered Nov 11 '22 15:11

Louis Jacomet