Skip to content

Releases: JetBrains/intellij-platform-gradle-plugin

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]

v1.6.0

23 May 08:19
ae94979
Compare
Choose a tag to compare

Added

  • Added BuildFeature feature flags. See Feature Flags in README.
  • Added --jbr-illegal-access and -XX:+IgnoreUnrecognizedVMOptions flags for tasks based on RunIdeBase to support 2022.2 which runs on Java 17
  • For JBR 17, dcevm is bundled by default. As a consequence, separated dcevm and nomod variants are no longer available.
  • instrumentCode task – incremental instrumentation #459
  • Add intellijRepository to the beginning of the repositories list when resolving dependencies #615
  • Set -Djdk.module.illegalAccess.silent=true flag by default to mute WARNING: An illegal reflective access operation has occurred
  • Add java.system.class.loader=com.intellij.util.lang.PathClassLoader system property for tests run on 221+
  • Integration Tests: Cover instrumentCode task

Changed

  • Set minimal supported Gradle version from 6.6 to 6.7
  • Throw an exception instead of warning when both intellij.localPath and intellij.version are specified
  • Publish sources and javadocs within the release #810

Fixed

  • Fix for getHeaderField("Location") must not be null #960
  • instrumentCode task – changes in Kotlin code no longer rebuild the plugin #959
  • Could not resolve JBR for 222-EAP-SNAPSHOT #997
  • Kotlin-generated classes aren't packed into the plugin distribution #978
  • Fixed version parsing for listProductsReleases task which resulted in incorrect IDE releases versions #995
  • Release plugin.xml file after reading it IDEA-291836

v1.5.3

15 Apr 00:35
d0c37ca
Compare
Choose a tag to compare
  • Updated dependencies marked as vulnerable #459
  • Fixed code instrumentation disabling via tasks.instrumentCode.enabled
  • instrumentCode task – limit the scope of the task to sourceSets.main.java #459
  • Introduce Gradle IntelliJ Plugin version check against the latest available

v1.5.2

30 Mar 23:47
0200951
Compare
Choose a tag to compare
  • Add util_rt.jar to the classpath of run-like tasks for 2022.1+ compatibility

v1.5.1

28 Mar 22:48
2f52c1f
Compare
Choose a tag to compare
  • Include Android Studio builds in the ListProductsReleasesTask results
  • Fix compiler resolution for EAP versions #906
  • Initial Toolbox Enterprise integration #913
  • Fixed ListProductsReleasesTask to allow for empty untilBuild #909
  • Resolved closest lower java-compiler-ant-tasks version if provided isn't available #910
  • Fixed XML parsing with JAXB - drop intermediate JDOM Document
  • Make IDEA products releases cached hourly #848
  • Fixed ListProductReleasesTask to return only significant versions for Android Studio #928

v1.5.0

28 Mar 13:40
1a2f75a
Compare
Choose a tag to compare
  • Include Android Studio builds in the ListProductsReleasesTask results
  • Fix compiler resolution for EAP versions #906
  • Initial Toolbox Enterprise integration #913
  • Make IDEA products releases cached daily #848
  • Fixed ListProductsReleasesTask to allow for empty untilBuild #909
  • Resolved closest lower java-compiler-ant-tasks version if provided isn't available #910
  • Fixed XML parsing with JAXB - drop intermediate JDOM Document

v1.4.0

11 Feb 16:03
ddfecc9
Compare
Choose a tag to compare
  • Fixed JBR resolving for MacOSX M1
  • Fixed compiler resolution for long build numbers #883
  • Build number fallback when product-info.json is missing #880
  • Consider sinceBuild and untilBuild properties of ListProductsReleasesTask in task caching #891
  • Introduce jbrVariant property next to the jbrVersion property in runIde, runPluginVerifier, buildSearchableOptions, and runIdeForUiTest tasks #852
  • Change log level of JbrResolver.resolveRuntime logs from warn to debug #849
  • Update runtime classpath for 221+
  • Fixed resolving Java Runtime for MacOSX #895
  • ProductInfo: parse custom properties in product-info.json #897