Skip to content

Releases: JetBrains/intellij-platform-gradle-plugin

v2.0.0-beta8

01 Jul 16:03
0164cb7
Compare
Choose a tag to compare

The IntelliJ Platform Gradle Plugin 2.0.0-beta8 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

  • intellijPlatformTesting top-level extension for registering custom tasks
  • Resolving IntelliJ Platform artifacts from JetBrains CDN using common coordinates
  • jetBrainsCdn() repository helper
  • DependencyVersion for controlling how particular dependencies are resolved (latest/closest/match IntelliJ Platform/exact)
  • Added -Didea.l10n.keys=only to the buildSearchableOptions task

Changed

  • Custom tasks registering refactoring
  • testIdeUi no longer runs IDE with Robot Server Plugin applied
  • defaultRepositories() repository helper executes now jetBrainsCdn() instead of binaryReleases()

Fixed

  • Fixed Could not find bundled plugin with ID: 'org.jetbrains.kotlin'
  • Fixed Cannot snapshot ../system/jcef_cache/SingletonSocket: not a regular file issue when preparing sandbox
  • Optimized resolving the latest/closest dependency version from available Maven repositories

Removed

  • CustomRunIdeTask, CustomTestIdeTask, CustomTestIdePerformanceTask, CustomTestIdeUiTask custom task classes
  • CustomIntelliJPlatformVersionAware, SandboxProducerAware task aware class
  • binaryReleases() repository helper
  • org.jetbrains.intellij.platform.buildFeature.useBinaryReleases flag

v2.0.0-beta7

14 Jun 18:25
@hsz hsz
445bb95
Compare
Choose a tag to compare

The IntelliJ Platform Gradle Plugin 2.0.0-beta7 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

  • VerifyPluginProjectConfigurationTask: limit specific checks when .module plugin is only applied
  • TestIdeUiTask (testIdeUi task) + CustomTestIdeUiTask implementation
  • Dependencies extension: platformDependency(groupId, artifactIt) and testPlatformDependency(groupId, artifactIt) for adding dependencies on artifacts published to the IntelliJ Maven Repository
  • TestFrameworkType.Metrics for adding metrics and benchmarking tools for Test Framework

Changed

  • Publish instrumented and composed artifact with variants instead of replacing the default artifact
  • Check the latest plugin version against Gradle Plugin Portal
  • Avoid calling checkPluginVersion and createCoroutinesJavaAgentFile methods when in a .module
  • Rename TestFrameworkType.Platform.JUnit4 to TestFrameworkType.Platform
  • Rename TestFrameworkType.Platform.JUnit5 to TestFrameworkType.JUnit5
  • Rename TestFrameworkType.Platform.Bundled to TestFrameworkType.Bundled
  • Prevent from updating the IvyModule.Info.publication with the current time as it breaks the configuration cache

Fixed

  • Customizing the sandboxDirectory and sandboxSuffix when configuring SandboxAware tasks
  • Fixed content exclusion when extracting DMG archives of IntelliJ Platform on macOS
  • Could not find a field for name metadata/modelVersion (Attribute) in MavenMetadata
  • PluginArtifactoryShim: use only host when setting up proxy for custom plugin repositories

v1.17.4

14 Jun 20:50
73c06eb
Compare
Choose a tag to compare

Added

  • Message about required migration to IntelliJ Platform Gradle Plugin 2.0 when targeting IntelliJ Platform 2024.2+ (242+).

v2.0.0-beta6

06 Jun 06:38
2eadeac
Compare
Choose a tag to compare

The IntelliJ Platform Gradle Plugin 2.0.0-beta6 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

  • Custom plugin repositories with authorization headers support

Changed

  • Resolve Plugin Verifier IDEs using regular IntelliJ Platform dependency resolution

Fixed

  • Add idea.classpath.index.enabled=false to tests system properties to avoid creating classpath.index file
  • Replace base archive file of the Jar task with ComposedJarTask archive file in all configuration artifact sets
  • Redundant whitespace when parsing plugin dependency IDs
  • Plugin Verifier: introduce partial configuration for resolving IntelliJ Platform dependencies with same coordinates but different versions

v2.0.0-beta5

30 May 08:15
774699c
Compare
Choose a tag to compare

The IntelliJ Platform Gradle Plugin 2.0.0-beta5 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

  • Introduce KotlinMetadataAware interface to provide metadata about the Kotlin setup

Fixed

  • Regression: Cannot fingerprint input property productInfo
  • Regression: GenerateManifestTask property kotlinStdlibBundled doesn't have a configured value
  • Regression: PrepareSandboxTask doesn't create system and log sandbox directories
  • Revise creating custom tasks and IntelliJ Platform main dependency inheritance

v2.0.0-beta4

27 May 20:13
2c6753d
Compare
Choose a tag to compare

The IntelliJ Platform Gradle Plugin 2.0.0-beta4 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

  • Support for Android Studio DMG archives
  • Introduce VerifyPluginProjectConfigurationTask.hasModulePlugin to exclude modules using org.jetbrains.intellij.platform.module subplugin from plugin.xml checks.
  • Better error handling in dependency helpers when missing values
  • Introduce GenerateManifestTask for generating MANIFEST.MF file
  • Introduce ComposedJarTask to compose and pick the final jar archive
  • Introduce intellijPlatform.pluginModule(Dependency) dependency helper to compose a single jar combined of multiple modules

Fixed

  • Avoid leaking internal properties from intellijPlatform extensions
  • Fixed custom tasks suffixing
  • Fixed: Task :test uses this output of task :prepareSandbox without declaring an explicit or implicit dependency #1609
  • ExtractorTransformer: Exclude only Applications symlink
  • SandboxAware: inherit sandbox directory from producer
  • Add IntelliJ Platform path-based hash to Ivy files to better deal with cache (temporary workaround)

v2.0.0-beta3

18 May 12:40
1444da9
Compare
Choose a tag to compare

The IntelliJ Platform Gradle Plugin 2.0.0-beta3 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

  • jetbrainsRuntime() dependency helper for resolving a suitable JBR version for IntelliJ Platform fetched from IntelliJ Maven Repository
  • jetbrainsRuntimeExplicit(explicitVersion) dependency helper for specifying an explicit JBR version if necessary
  • PrepareSandboxTask: introduce sandboxDirectoriesExistence property to ensure all sandbox directories exist
  • localPlugin() dependency helper for adding local plugins as project dependencies and extending customizable tasks
  • Emit warning when using the bundledLibrary dependency helper.

Changed

  • Update PlatformJavaVersions and PlatformKotlinVersions
  • Introduce a separated Sandbox for the Frontend part when running IDE in Split Mode
  • Rename SandboxAware.sandboxContainerDirectory to SandboxAware.sandboxDirectory to avoid confusion with intellijPlatform.sandboxContainer
  • Use custom task name as a suffix for dynamically created configuration and tasks instead of UUID.randomUUID()

Fixed

  • Fixed transitive dependencies of bundled plugin dependencies when IntelliJ Platform doesn't contain ProductInfo.layout model yet.
  • Produce customized (suffixed) configuration only for CustomIntelliJPlatformVersionAware tasks

v2.0.0-beta2

13 May 17:55
@hsz hsz
8423958
Compare
Choose a tag to compare

The IntelliJ Platform Gradle Plugin 2.0.0-beta2 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

  • Use IntelliJ Platform distribution from download.jetbrains.com by default. To switch back to IntelliJ Maven Repository artifacts, use org.jetbrains.intellij.platform.buildFeature.useBinaryReleases=false
  • Introduced Custom* tasks. if you want to extend the runIde or testSomething tasks, use the Custom*Task classes. See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-custom-tasks.html
  • Better handling of missing dependencies/misconfiguration
  • Bring back the SetupDependenciesTask to avoid failing build when migrating from 1.x
  • Better ClosestVersionResolver error messages
  • When running IDE in Split Mode, it’s possible to specify splitModeTarget (BACKEND, FRONTEND, BACKEND_AND_FRONTEND)

Fixed

  • Fixed including transitive modules/bundled plugins dependencies of declared plugin dependencies
  • Fixed JetBrains Runtime (JBR) resolving
  • move TestFrameworkType from org.jetbrains.intellij.platform.gradle.extensions to org.jetbrains.intellij.platform.gradle

Removed

  • Dropped testIde task as test is now properly configured

v2.0.0-beta1

11 Apr 12:51
@hsz hsz
60d0e0f
Compare
Choose a tag to compare

The IntelliJ Platform Gradle Plugin 2.0.0-beta1 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.

v1.17.3

29 Mar 09:07
5954afe
Compare
Choose a tag to compare

Fixed

  • Fix for: coroutinesJavaAgentPath specifies file .../build/tmp/initializeIntelliJPlugin/coroutines-javaagent.jar which doesn't exist
  • Fixed resolving Android Studio releases URL for Windows #1551
  • Fixed repository type classification for Rider RC builds #1579