2018年3月25日日曜日

Spring Tool SuiteにGradleのプラグインをインストール

MacにGradleのインストールしたので、今度はSpring Tool SuiteにGradleのプラグインをインストールすることにした。
手順は次のとおり。

Spring Tool Suiteを起動。そしてメニューバーの「Help」-「Eclipse Marketplace」をクリック。

Eclipse Marketplaceの画面のダイアログ画面が表示する。

ブラウザのGradle IDE Packのサイトを表示する。
そして、「Install」ボタンをクリック。

"Drag and Drop Install" のサブタイトルの下の文章内の「Install」ボタンをドラッグアンドドロップして、Eclipse Marketpalceのダイアログ画面に貼り付けする。

ドラッグドロップしているときはこんな感じになる。

Eclipse Marketplaceのダイアログの表示が切り替わるので「Confirm」ボタンをクリック。

"I accept the terms of the license agreements"を選択して、「Finish」をクリック。

しばらくするとエラーが表示された。
"Problem Occurred" "'Installing Software' has encountered a problem.
An error occurred while collecting items to be installed"
ソフトウェアインストール中に問題に遭遇したんだと。
なので「OK」をクリック。

もう一度やり直す。
Gradle IDE Packのサイトの「Install」ボタンをEclipse Marketplaceのダイアログ画面にドラッグアンドドロップ。

Eclipse Marketplaceのダイアログ画面の表示が切り替わる。
「Confirm」ボタンをクリック。

なんか先程と画面遷移が違うような・・・
でも問題はなさそうだ。多分・・・進めてみよう。
「Finish」ボタンをクリック。

"Security Warning" "Warning: You are installing software that contains unsigned content. The authenticity of validity of this software cannot be established. Do you want with the installation?"
って表示された。なんか署名なしのソフトウェアだけどいいかい?って訪ねている。
もちろん進めるので「Install anyway」をクリック。


"Software Updates" "You will need to restart Spring Tool Suite for the changes to take effect. Would you like to restart now."って表示される。
ソフトウェアの更新するには、Spring Tool Suiteの再起動が必要なので、今再起動するかい?って訪ねてくる。「Restart Now」をクリック。

Spring Tool Suiteを再起動したら、"Migration from STS Gradle to Buildship" "The STS Gradle plugin is under minimal maintenance and may be discontinued in the future. A document explaining the migration process from STS Gradle to Buildship can be found here"って表示される。
Gradle IDE Packは最小限のメンテナンスしかしないし、近い将来継続しない可能性がある。Buildshipへの移行の手順はここにあるよ、と。
では、Gradle IDE Packは使わないで、Buildshipってのをを使用した方が良さそうだな。
Buildshipをインストールしてみるか。
今回はとりあえず、ここまで。

0 件のコメント :

コメントを投稿