LoginSignup
0
0

More than 3 years have passed since last update.

The STS Gradle plugin is under minimal maintenance and may be discontinued in the future.

Last updated at Posted at 2021-01-15

事象 : Gradle IDE Packをインストールしたら何か言われた

  • 環境
    • Windows10 Pro バージョン1909
    • Eclipse IDE for Enterprise Java Developers Version: 2020-09 (4.17.0)
  1. Eclipse MarketplaceでGradle IDE Packをインストールしたらimage.pngimage.png
  2. なんか言われた、英語読めないから閉じたけどEclipseを起動するとまた言われるから大切なことなのかもしれないimage.png
メッセージ
The STS Gradle plugin is under minimal maintenance and may be discontinued in the future.
A document explaining the migration process from STS Gladle to Buildship can be found here.
(ざっくり訳)
STS Gradleプラグインのメンテナンスは最小限であり、将来は中止される可能性があります。
STS GladleからBuildshipへの移行プロセスを説明したドキュメントはここにある。

原因 : Gradle IDE Packはいつか廃止するからBuildshipに移行してほしい

hereをクリックしたページを英語わかんないからちょっとだけ読む

There are two major Gradle plugins for Eclipse: one created by SpringSource as part of the Spring Tool Suite and one called Buildship developed by Gradle Inc. Since Buildship became an eclipse.org project, the SpringSource developers are planning to phase out their tooling and switch to Buildship.
(ざっくり訳)
Eclipseには二つの主要なGradleプラグインがあります。一つはSpring Tool Suiteの一部としてSpringSourceによって作られたもので、もう一つはGradle Inc.によって開発されたBuildshipと呼ばれるものです。Buildshipがeclipse.orgプロジェクトになって以来、SpringSourceの開発者はツールを段階的に廃止してBuildshipに切り替えることを計画しています。
https://github.com/eclipse/buildship/wiki/Migration-guide-from-STS-Gradle-to-Buildship

Buildshipがデフォルトでインストールされている(たぶん)。image.png
だからPreferenceでGradleが2つあるのかもしれない。2つあると初心者のぽんすけにはわかりずらい。image.png

対応 : Buildshipへ移行する

やり方が
https://github.com/eclipse/buildship/wiki/Migration-guide-from-STS-Gradle-to-Buildship
に親切に画像付き書いてあった、が英語なので頑張る。

  1. 最新のビルドシップ・リリースをインストールする
  2. ​プロジェクトを物理的に削除せずに、ワークスペースからプロジェクトを削除する
  3. [Project Explored] > [Import projects...] > [Gradle] > [Existing Gradle Project] > [Project root directory]でプロジェクトの場所を指定
    • image.png
  4. ​[Finish]ボタンでインポートする
    • ここでメッセージが表示されることもあるらしいけど表示されなかった
    • When prompted, choose Overwrite Eclipse descriptors to perform a clean import, or choose the Keep option to preserve the plugin configuration.
  5. Disable the hidden file filter in the Project/Package Explorer view.はどうやればいいかわからないから飛ばす
  6. For all projects, delete the .settings/gradle folder (it contains configuration data from STS Gradle)..settingsあるけどgradleってディレクトリもファイルもないから飛ばす
  7. STS Gradleをンインストールする
    1. [Help] > [About Eclipse IDE] > [Installation Details]ボタンでダイアログを開く
    2. [Installed Software]タブで「Gradle IDE」を選択 > [Uninstall..]ボタンでアンインストールするimage.png
    3. 再起動を促されたらEclipseを再起動する
0
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
0
0