Skip to content

v2.0.0-beta9

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Jul 11:22
· 256 commits to main since this release
63cd4ed

The IntelliJ Platform Gradle Plugin 2.0.0-beta9 is a plugin for the Gradle build system to help configure environments for building, testing, verifying, and publishing plugins for IntelliJ-based IDEs. It is a successor of Gradle IntelliJ Plugin 1.x.

To read more about the upcoming 2.0.0 release, please visit the documentation and the Migration Guide from Gradle IntelliJ Plugin.

If you have any issues or requests, please submit them to the GitHub Issues.
To submit questions or suggestions in relation to the documentation, use the feedback form at the bottom of the article.

Added

  • Added useInstaller: Boolean property to create(type, version) (and product-specific) dependency helpers to distinguish the type of artifacts; true by default
  • Added useInstaller: Boolean property to configuration when creating custom tasks with intelliJPlatformTesting; true by default
  • Introduce create(notation: String, useInstaller: Boolean) dependency helper for adding a dependency on the IntelliJ Platform using notation string, like IU-2024.2
  • Introduce jetbrainsRuntimeLocal(localPath: String) dependency helper for adding a dependency on the local JetBrains Runtime instance
  • Introduce GradleProperties helper class for handling org.jetbrains.intellij.platform.<propertyName> Gradle properties, accepting multiple input types
  • intellijPlatform component for accessing the composed Jar with components["intellijPlatform"]

Changed

  • Rename jetBrainsCdn() repository helper to jetbrainsIdeInstallers()
  • Rename binaryReleasesAndroidStudio() repository helper to androidStudioInstallers()
  • Rewrite the latest/closest version resolution mechanism for performance reasons
  • Rewrite the latest Gradle plugin check for performance reasons
  • Enhance PrintBundledPluginsTask output
  • IntelliJPlatformTestingExtension: make the produced object Buildable so it can be used for dependsOn() purposes
  • Rewrite the local Ivy dependencies management
  • Review the bundled plugins resolution
  • bundledPlugin(): provide a helpful message when specifying a well-known plugin path (valid in 1.x) instead of real plugin ID (java vs com.intellij.java)
  • Renamed org.jetbrains.intellij.platform.buildFeature.<propertyName> Gradle properties to org.jetbrains.intellij.platform.<propertyName>
  • localPlugin(project(":submodule")) refers now to the distribution Zip archive

Fixed

  • testFramework() dependency helper must use DependencyVersion.Closest instead fixed DependencyVersion.IntelliJPlatform
  • Fixed Task ... uses output .intellijPlatform/coroutines-javaagent.jar of task ... without declaring dependency
  • Fixed the wrong Android Studio installer architecture on x86
  • Fixed InvalidPathException: Illegal char <:> exception on Windows when resolving IntelliJ Platform system properties
  • Fixed missing custom plugins in the sandbox when running a custom task

Removed

  • Resolving IntelliJ Platform artifacts from JetBrains CDN using common coordinates
  • Remove BundledPluginsListTransformer and in-advance bundled plugins resolving with JSON serialization
  • Remove BuildFeature.USE_CLOSEST_VERSION_RESOLVING
  • Remove BuildFeature mechanism in favor of GradleProperties