intellij-platform-gradle-plugin: Could not find com.jetbrains.intellij.java:java-compiler-ant-tasks:211.4961.33.

Hi, I am migrating my plugin to idea 2021.1 Pre, but I can’t finish the build.

build.gradle

buildscript {
  repositories {
    mavenCentral()
    maven { url "https://plugins.gradle.org/m2/" }
    maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
    maven { url 'https://dl.bintray.com/jetbrains/intellij-plugin-service' }
    maven { url "https://jetbrains.bintray.com/intellij-third-party-dependencies" }
  }
}

plugins {
    id 'java'
    id "org.jetbrains.intellij" version "0.6.5"
}

log

Execution failed for task ':instrumentCode'.
> Could not resolve all files for configuration ':detachedConfiguration3'.
   > Could not find com.jetbrains.intellij.java:java-compiler-ant-tasks:211.4961.33.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/jetbrains/intellij/java/java-compiler-ant-tasks/211.4961.33/java-compiler-ant-tasks-211.4961.33.pom
       - https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/java/java-compiler-ant-tasks/211.4961.33/java-compiler-ant-tasks-211.4961.33.pom
       - file:/C:/Users/Administrator/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/LATEST-EAP-SNAPSHOT/f97fbeb72fc61318adbf062e2e648d57c00adf27/ideaIC-LATEST-EAP-SNAPSHOT/com.jetbrains.intellij.java/java-compiler-ant-tasks/211.4961.33/ivy-211.4961.33.xml
       - file:/C:/Users/Administrator/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/LATEST-EAP-SNAPSHOT/f97fbeb72fc61318adbf062e2e648d57c00adf27/ideaIC-LATEST-EAP-SNAPSHOT/java-compiler-ant-tasks-211.4961.33-withKotlin-withSources-withoutAnnotations.xml
       - file:/C:/Users/Administrator/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/com.jetbrains.intellij.java/java-compiler-ant-tasks-211.4961.33.xml
       - https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/java/java-compiler-ant-tasks/211.4961.33/java-compiler-ant-tasks-211.4961.33.pom
       - https://cache-redirector.jetbrains.com/jetbrains.bintray.com/intellij-third-party-dependencies/com/jetbrains/intellij/java/java-compiler-ant-tasks/211.4961.33/java-compiler-ant-tasks-211.4961.33.pom
       - https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/com/jetbrains/intellij/java/java-compiler-ant-tasks/211.4961.33/java-compiler-ant-tasks-211.4961.33.pom
     Required by:
         project :

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (6 by maintainers)

Commits related to this issue

Most upvoted comments

@MykytaKostiuk thanks for the verification. the fix is coming in the next 0.7 version