Gradle: Could not resolve com.jetbrains.intellij.idea:ideaIC:LATEST-EAP-SNAPSHOT

 

Could anyone help me why I am got these errors when trying to create plugin project in intellij ? .

    FAILURE: Build completed with 2 failures.


  
1: Task failed with an exception.
-----------
* Where:
Build file 'C:\Users\me\IdeaProjects\javaplugin\build.gradle' line: 22

* What went wrong:
A problem occurred evaluating root project 'javaplugin'.
> No signature of method: build_8zcj5qi9nkyzl6th0l3r3fq76.patchPluginXml() is applicable for argument types: (build_8zcj5qi9nkyzl6th0l3r3fq76$_run_closure4) values: [build_8zcj5qi9nkyzl6th0l3r3fq76$_run_closure4@22962753]

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

==============================================================================

  2: Task failed with an exception.
    -----------
    * What went wrong:
    A problem occurred configuring root project 'javaplugin'.
    > Could not resolve all files for configuration ':detachedConfiguration1'.
       > Could not resolve com.jetbrains.intellij.idea:ideaIC:LATEST-EAP-SNAPSHOT.
         Required by:
             project :
          > Could not resolve com.jetbrains.intellij.idea:ideaIC:LATEST-EAP-SNAPSHOT.
             > Unable to load Maven meta-data from https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml.
                > Could not get resource 'https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml'.
                   > Could not GET 'https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml'.
                      > www.jetbrains.com
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    ==============================================================================
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 5s

请先登录再写评论。