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

intellij {
    version '183.5429.37'
    sandboxDirectory = "C:/Users/Andrey/.CLion2018.3"
    localPath 'F:/Run/Lprogr/JetBrains/CLion/'
    pluginName 'Helper'
    alternativeIdePath 'F:/Run/Lprogr/JetBrains/CLion/'
    downloadSources false
    type 'CL'
}
BUILD FAILED in 1s
4 actionable tasks: 1 executed, 3 up-to-date
Could not find com.jetbrains.intellij.java:java-compiler-ant-tasks:183.5429.37.
Searched in the following locations:
  - file:/F:/Run/Lprogr/JetBrains/CLion/com.jetbrains.intellij.java/java-compiler-ant-tasks/183.5429.37/ivy-183.5429.37.xml
  - file:/F:/Run/Lprogr/JetBrains/CLion/java-compiler-ant-tasks-183.5429.37-withKotlin.xml
  - file:/F:/Run/Lprogr/JetBrains/CLion/com.jetbrains.intellij.java/java-compiler-ant-tasks/183.5429.37/java-compiler-ant-tasks-183.5429.37.jar
  - file:/F:/Run/Lprogr/JetBrains/CLion/java-compiler-ant-tasks.jar
  - https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/com/jetbrains/intellij/java/java-compiler-ant-tasks/183.5429.37/java-compiler-ant-tasks-183.5429.37.pom
  - https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/com/jetbrains/intellij/java/java-compiler-ant-tasks/183.5429.37/java-compiler-ant-tasks-183.5429.37.jar
  - https://cache-redirector.jetbrains.com/jetbrains.bintray.com/intellij-third-party-dependencies/com/jetbrains/intellij/java/java-compiler-ant-tasks/183.5429.37/java-compiler-ant-tasks-183.5429.37.pom
  - https://cache-redirector.jetbrains.com/jetbrains.bintray.com/intellij-third-party-dependencies/com/jetbrains/intellij/java/java-compiler-ant-tasks/183.5429.37/java-compiler-ant-tasks-183.5429.37.jar
  - https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/com/jetbrains/intellij/java/java-compiler-ant-tasks/183.5429.37/java-compiler-ant-tasks-183.5429.37.pom
  - https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/com/jetbrains/intellij/java/java-compiler-ant-tasks/183.5429.37/java-compiler-ant-tasks-183.5429.37.jar
Required by:
    project :
10:11:39: Task execution finished 'verifyPlugin'.

F:/Run/Lprogr/JetBrains/CLion/ = CL-183.5429.37

How i can MANUALLY set java:java-compiler-ant-tasks?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (11 by maintainers)

Commits related to this issue

Most upvoted comments

@AlexeyKorshun as you use local android studio (not IDEA) as an SDK, you have to specify a particular compiler version that should be used for instrumenting.

There is no compiler with 203.7717.56.2031.7583922 version. All available versions are listed here: https://www.jetbrains.com/intellij-repository/releases. In your case, I think 203.7717.56 would be just fine.

So the configuration should look like this:

instrumentCode {
  compilerVersion = "203.7707.56"
}

Hi, I try to use your plugin, but I have an issue Could not find com.jetbrains.intellij.java:java-compiler-ant-tasks:203.7717.56.2031.7583922. . Before upgrade my IDEA to new version, it worked fine. can you help, what can be wrong?

Нет, я не издеваюсь, я пытаюсь вам помочь хоть что-то собрать без необходимости выкачивать дистрибутив CLion или ожидания новой версии gradle-intellij-plugin. Тогда попробуйте то, что я просил попробовать изначально: https://github.com/JetBrains/gradle-intellij-plugin/issues/369#issuecomment-468215368