LoginSignup
1
0

More than 5 years have passed since last update.

IntelliJで複数モジュールを持つsbtプロジェクトの特定モジュールのmainメソッドを実行

Last updated at Posted at 2017-04-14

IntelliJで、複数モジュールをもつsbtプロジェクトの開発をしている時。
特定モジュールのmainメソッドを実行したい場合の設定方法。

sbtのバージョンは0.13.13, IntelliJはUltimate 2016.3

  1. メニュー[Run]より[Edit Configurations...]を選択。
  2. 「SBT Task」を追加し、Tasksの欄に以下のように記入

"project your-module-name" run

「your-module-name」には、あなたが動かしたいmainメソッドがあるモジュールの名前を指定。
画面だとこんな感じ。

runscreenshot.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0