legacy-knowledge-base
公開されました Sep. 10, 2025

Gradleのデフォルト設定を上書きし、IntelliJを使用してローカルリポジトリからファイルをダウンロードする

written-by

Marcos da Silva Xavier

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • IntelliJを使用している場合、ファイアウォールの設定により、デフォルトのLiferayリポジトリからファイルをダウンロードすることができません。 リポジトリのデフォルトのGradle設定を変更し、そこからファイルを取得するためにローカルのものを使用するには?

Environment

  • DXP 7.4

解決策

  • IntellijをIDEとして使用し、ローカルリポジトリからファイルをダウンロードするには、以下を実行してください:
  1. File->setting->Server Certificate にアクセスする。
  2. IntelliJで "Accepted certificates "を追加する。
  3. Accept non-trusted certificate automatically(信頼できない証明書を自動的に受け入れる)」にチェックを入れる。
  4. リブート

did-this-article-resolve-your-issue

legacy-knowledge-base