Skip to content

Releases: JetBrains/intellij-platform-gradle-plugin

v1.13.0

10 Feb 19:13
b25cf50
Compare
Choose a tag to compare

Added

  • Support for Gradle 8.0
  • Introduced the initializeIntelliJPlugin task for executing plugin initialization actions, like checkPluginVersion
  • instrumentJar task to produce independent jar file with instrumented classes
  • instrumentedJar configuration for multi-module projects
  • Publish plugin marker to the Maven Snapshot Repository

Fixed

  • Don't enforce the Kotlin version of the project by using compileOnly instead of api when declaring the org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0 dependency #1276
  • Instrumentation: fixed configuration cache support, dropped the postInstrumentCode and postInstrumentTestCode tasks #1283

Breaking Changes

  • It is required to use the instrumentedJar configuration when referring submodules in multi-modules project, like dependencies { implementation(project(":submodule", "instrumentedJar")) }
  • Rename IntelliJInstrumentCodeTask to InstrumentCodeTask

v1.12.0

13 Jan 19:53
57e8a2b
Compare
Choose a tag to compare

Added

  • Extract ZIP Signer CLI tool downloading as downloadZipSigner task
  • Allow for passing signPlugin.privateKey and signPlugin.certificateChain as base64-encoded value

Changed

  • Download IDEs used by the Plugin Verifier in the task execution phase.

Fixed

  • Added missing incremental task annotation properties and cacheability annotations #1258
  • Make listBundledPlugins not printing output as printBundledPlugins does that
  • Fixed taskdef class com.intellij.ant.InstrumentIdeaExtensions cannot be found #1259
  • Don't warn about unexpected instrumentation task name #1214

v1.11.0

17 Dec 05:59
f0f5fc8
Compare
Choose a tag to compare

Added

  • printProductsReleases task to print the result of the listProductsReleases task
  • printBundledPlugins task to print the result of the listBundledPlugins task
  • runIde.jbrArch and runPluginVerifier.jbrArch properties for the explicit JBR architecture specification

Changed

  • custom(String) helper of intellij.pluginRepositories configuration requires now passing a direct URL to the updatePlugins.xml file #1252
  • listProductsReleases task doesn't print output anymore
  • listBundledPlugins task doesn't print output anymore
  • Set minimum supported Gradle version to 7.3

Fixed

  • Replace Contents/Contents part within JVM arguments to a single Contents – happens with macOS distribution
  • --offline prevents from using JBR even if it is already downloaded #1251

v1.10.2

16 Dec 23:30
e4013d6
Compare
Choose a tag to compare

Changed

  • Revert back the minimum supported Gradle version to 6.8

v1.10.1

08 Dec 20:21
de61859
Compare
Choose a tag to compare

Changed

  • Set minimum supported Gradle version from 6.8 to 7.1

Fixed

  • Fixed "Error: Could not find or load main class" when using older SDK versions
  • Fix launch information could not be found for macOS. #1230
  • Fixed "Cannot change dependencies of dependency configuration ... after it has been included in dependency resolution" #1209

v1.10.0

17 Nov 19:27
0e8df80
Compare
Choose a tag to compare

Added

  • Set IDEA_PLUGIN_SANDBOX_MODE to true for runIde-based tasks
  • The listBundledPlugins task for listing IDs of plugins bundled within the currently targeted IDE
  • Make sure 1.10.0 is higher than 1.10.0-SNAPSHOT in version check #1155

Fixed

  • Invalidate instrumented classes bound to forms if GUI changed IDEA-298989
  • Revert pushing project resource directories to the end of classpath in the test task context. #1101
  • Avoid unnecessary task configuration during Gradle configuration phase #1110 by @3flex
  • Replace internal Gradle ConventionTask with DefaultTask #1115 by @aSemy
  • Plugin Verifier cache directory now follows XDG cache standards #1119 by @aSemy
  • Migrate most of the Gradle API in IntelliJPlugin.kt to use the Gradle Kotlin DSL extensions #1117 by @aSemy
  • Support runIde.jbrVersion in 17.0.4.1-b653.1 format #1172
  • Plugin dependencies not resolved in multi-module project #1196
  • Finalize instrumentation with classpathIndexCleanup run to remove classpath.index file which breaks incremental build
  • Misleading message about Kotlin language version #1156

Changed

  • Set minimum supported Gradle version from 6.7.1 to 6.8
  • Use information from product-info.json for running 223+

v1.9.0

02 Sep 06:23
6cfa21f
Compare
Choose a tag to compare

Added

  • Configure classpath for run-based tasks using package-info.json provided with IntelliJ SDK 2022.3+
  • The verifyPluginConfiguration task for validating the plugin project configuration.
  • Make Android Studio (AI type) available for resolving as SDK.

Changed

  • Change IntelliJPluginConstants.ANDROID_STUDIO_PRODUCTS_RELEASES_URL to https://jb.gg/android-studio-releases-list.xml

v1.8.1

25 Aug 03:14
84f16f5
Compare
Choose a tag to compare

Added

  • Configure classpath for run-based tasks using Info.plist provided with IntelliJ SDK 2022.3+

Changed

  • OpenedPackages: add java.desktop/java.awt.font for all OSes

v1.8.0

04 Aug 21:41
d583e65
Compare
Choose a tag to compare

Added

  • Add sourceSets output directories to the classpath of the test task.
  • Synchronize OpenedPackages list with the latest version available.
  • Make PhpStorm (PS type) available for resolving as SDK.

Changed

  • Rearrange classpath to put idea and ideaPlugins dependencies in the right order.
  • Rename plugin configurations to move injected dependencies to the end of the classpath. #1060

Removed

  • Remove the DEPENDENCY_FIRST resolution strategy set by default along with its BuildFeature.USE_DEPENDENCY_FIRST_RESOLUTION_STRATEGY flag.
  • Remove setting of the java.system.class.loader property from tests configuration.

Fixed

  • Exclude non-jar files from the classpath #1009
  • Jacoco reports false 0% test coverage #1065
  • Unable to load JUnit4 runner to calculate Ignored test cases #1033

v1.7.0

08 Jul 14:09
7280438
Compare
Choose a tag to compare

Added

  • Automatically detect bundled sources in plugin dependency #786
  • Automatically detect plugin dependency sources provided in the IDE distribution #207
  • Throw an error when intellij.version is missing #1010
  • Set ResolutionStrategy.SortOrder.DEPENDENCY_FIRST for compileClasspath and testCompileClasspath configurations #656
  • Added useDependencyFirstResolutionStrategy feature flag. See Feature Flags.
  • Ensure classpath.index is not bundled in the JAR file
  • Warn about no settings provided by the plugin when running buildSearchableOptions and suggest disabling the task. #1024
  • Warn about paid plugin running buildSearchableOptions and suggest disabling the task. #1025
  • IDE dependencies are added to the compileOnly classpath for test fixtures if the java-test-fixtures plugin is applied #1028
  • classpathIndexCleanup task is added to remove classpath.index files created by PathClassLoader #1039
  • Improve Plugin Verifier error messages #1040
  • Added FailureLevel.SCHEDULED_FOR_REMOVAL_API_USAGES to the Plugin Verifier task
  • Support for JetBrains Runtime 2022.2 directories layout #1016

Changed

  • Set minimum supported Gradle version from 6.7 to 6.7.1
  • Resolve dependencies using repositories in the following order: project custom repositories (if any), plugin custom repositories, common repositories (like Maven Central)
  • Add executable flag for Rider.Backend native launchers in IdeaDependencyManager#resetExecutablePermissions RIDER-59978
  • Remove Gradle dependencies constraints as transitive dependencies don't point to vulnerabilities anymore #999

Fixed

  • Fixed broken instrumentation when custom sources directory is set #1004
  • Fixed java.nio.file.FileAlreadyExistsException when instrumenting code #998
  • Fixed Execution optimizations have been disabled for task ':jar' to ensure correctness #1000
  • Fixed JaCoCo Can't add different class with same name exception when using code instrumentation #1020
  • Fixed failing instrumentation due to the Class not found exception #1029
  • Fixed 'compilerClassPathFromMaven' doesn't have a configured value when resolving java-compiler-ant-tasks #1003
  • Fixed NoClassDefFoundError caused by the stale classpath.index created by the PathClassLoader #1032
  • Fixed issue with not updated GUI form during the incremental build #1044]