diff --git a/CHANGELOG.md b/CHANGELOG.md index bb670d43c0..7c3fc71fd5 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [next] +### Fixed + +- Fixed the broken path resolution in the ` bundledLibrary` helper and the `TestFrameworkType.Bundled` test framework + ## [2.2.1] - 2025-01-21 ### Added diff --git a/src/main/kotlin/org/jetbrains/intellij/platform/gradle/extensions/IntelliJPlatformDependenciesHelper.kt b/src/main/kotlin/org/jetbrains/intellij/platform/gradle/extensions/IntelliJPlatformDependenciesHelper.kt index 20f7a503da..3b95ee02e8 100644 --- a/src/main/kotlin/org/jetbrains/intellij/platform/gradle/extensions/IntelliJPlatformDependenciesHelper.kt +++ b/src/main/kotlin/org/jetbrains/intellij/platform/gradle/extensions/IntelliJPlatformDependenciesHelper.kt @@ -635,9 +635,7 @@ class IntelliJPlatformDependenciesHelper( * @param path Relative path to the library, like: `lib/testFramework.jar`. */ private fun DependencyHandler.createBundledLibrary(path: String) = create( - objects.fileCollection().from(platformPath.map { - it.resolve(path) - }) + objects.fileCollection().from(platformPath.resolve(path)) ) /**