Releases: JetBrains/intellij-platform-gradle-plugin
Releases · JetBrains/intellij-platform-gradle-plugin
v1.13.0
Added
- Support for Gradle
8.0
- Introduced the
initializeIntelliJPlugin
task for executing plugin initialization actions, likecheckPluginVersion
instrumentJar
task to produce independent jar file with instrumented classesinstrumentedJar
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 ofapi
when declaring theorg.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0
dependency #1276 - Instrumentation: fixed configuration cache support, dropped the
postInstrumentCode
andpostInstrumentTestCode
tasks #1283
Breaking Changes
- It is required to use the
instrumentedJar
configuration when referring submodules in multi-modules project, likedependencies { implementation(project(":submodule", "instrumentedJar")) }
- Rename
IntelliJInstrumentCodeTask
toInstrumentCodeTask
v1.12.0
Added
- Extract ZIP Signer CLI tool downloading as
downloadZipSigner
task - Allow for passing
signPlugin.privateKey
andsignPlugin.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 asprintBundledPlugins
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
Added
printProductsReleases
task to print the result of thelistProductsReleases
taskprintBundledPlugins
task to print the result of thelistBundledPlugins
taskrunIde.jbrArch
andrunPluginVerifier.jbrArch
properties for the explicit JBR architecture specification
Changed
custom(String)
helper ofintellij.pluginRepositories
configuration requires now passing a direct URL to theupdatePlugins.xml
file #1252listProductsReleases
task doesn't print output anymorelistBundledPlugins
task doesn't print output anymore- Set minimum supported Gradle version to
7.3
Fixed
- Replace
Contents/Contents
part within JVM arguments to a singleContents
– happens with macOS distribution --offline
prevents from using JBR even if it is already downloaded #1251
v1.10.2
Changed
- Revert back the minimum supported Gradle version to
6.8
v1.10.1
Changed
- Set minimum supported Gradle version from
6.8
to7.1
Fixed
v1.10.0
Added
- Set
IDEA_PLUGIN_SANDBOX_MODE
totrue
forrunIde
-based tasks - The
listBundledPlugins
task for listing IDs of plugins bundled within the currently targeted IDE - Make sure
1.10.0
is higher than1.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
in17.0.4.1-b653.1
format #1172 - Plugin dependencies not resolved in multi-module project #1196
- Finalize instrumentation with
classpathIndexCleanup
run to removeclasspath.index
file which breaks incremental build - Misleading message about Kotlin language version #1156
Changed
- Set minimum supported Gradle version from
6.7.1
to6.8
- Use information from
product-info.json
for running223+
v1.9.0
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
tohttps://jb.gg/android-studio-releases-list.xml
v1.8.1
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
Added
- Add
sourceSets
output directories to the classpath of thetest
task. - Synchronize
OpenedPackages
list with the latest version available. - Make PhpStorm (
PS
type) available for resolving as SDK.
Changed
- Rearrange classpath to put
idea
andideaPlugins
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 itsBuildFeature.USE_DEPENDENCY_FIRST_RESOLUTION_STRATEGY
flag. - Remove setting of the
java.system.class.loader
property from tests configuration.
Fixed
v1.7.0
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
forcompileClasspath
andtestCompileClasspath
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 thejava-test-fixtures
plugin is applied #1028 classpathIndexCleanup
task is added to removeclasspath.index
files created byPathClassLoader
#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
to6.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 inIdeaDependencyManager#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 resolvingjava-compiler-ant-tasks
#1003 - Fixed
NoClassDefFoundError
caused by the staleclasspath.index
created by thePathClassLoader
#1032 - Fixed issue with not updated GUI form during the incremental build #1044]