Source of Groovy SDK

已回答
  1. Where does IntelliJ get the Groovy jars and source jars from?
    https://groovy.apache.org/download.html only has binary Jars and no source Jars. Are ALL the jars downloaded from a maven repo  such as https://repo1.maven.org/maven2/org/apache/groovy/groovy/?
  1. How does it determine what version of SDK to download?
    I just set it up using IntelliJ and it downloaded groovy-4.0.2 but the latest version is 4.0.3 as you can see https://groovy.apache.org/download.html. Are the libraries/jars OR the version of Groovy bundled within the IntelliJ installation? 

 

 

0

It's hardcoded in the Groovy plug-in:

org/jetbrains/plugins/groovy/config/groovy.sdk.xml
  <artifact version="4.0.2">
    <item url="https://repo1.maven.org/maven2/org/apache/groovy/groovy/4.0.2/groovy-4.0.2.jar"
          srcUrl="https://repo1.maven.org/maven2/org/apache/groovy/groovy/4.0.2/groovy-4.0.2-sources.jar"
          md5="626d64e324a7da0347f042e807ab9b5f"/>

Feel free to submit a feature request at https://youtrack.jetbrains.com/newIssue?project=IDEA if you would like to see the default suggested SDK updated.

You can switch to Maven/Gradle projects so that you can easily define what Groovy SDK version you want to use in build.gradle/pom.xml.

0

Thanks. I asked just in case if it was available as a configuration option somewhere. No bid deal. Thanks!

0

请先登录再写评论。