v2.0.0-beta9
版本发布时间: 2024-07-12 19:22:06
JetBrains/intellij-platform-gradle-plugin最新发布版本:v2.0.1(2024-08-09 05:03:45)
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 tocreate(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 withintelliJPlatformTesting
;true
by default - Introduce
create(notation: String, useInstaller: Boolean)
dependency helper for adding a dependency on the IntelliJ Platform using notation string, likeIU-2024.2
- Introduce
jetbrainsRuntimeLocal(localPath: String)
dependency helper for adding a dependency on the local JetBrains Runtime instance - Introduce
GradleProperties
helper class for handlingorg.jetbrains.intellij.platform.<propertyName>
Gradle properties, accepting multiple input types -
intellijPlatform
component for accessing the composed Jar withcomponents["intellijPlatform"]
Changed
- Rename
jetBrainsCdn()
repository helper tojetbrainsIdeInstallers()
- Rename
binaryReleasesAndroidStudio()
repository helper toandroidStudioInstallers()
- 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 fordependsOn()
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
vscom.intellij.java
) - Renamed
org.jetbrains.intellij.platform.buildFeature.<propertyName>
Gradle properties toorg.jetbrains.intellij.platform.<propertyName>
-
localPlugin(project(":submodule"))
refers now to the distribution Zip archive
Fixed
-
testFramework()
dependency helper must useDependencyVersion.Closest
instead fixedDependencyVersion.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 ofGradleProperties
1、 IntelliJPlatformGradlePlugin-2.0.0-beta9-javadoc.jar 3.33MB
2、 IntelliJPlatformGradlePlugin-2.0.0-beta9-sources.jar 169.37KB
3、 IntelliJPlatformGradlePlugin-2.0.0-beta9-test-fixtures.jar 22.85KB