Skip to content

Commit

Permalink
Use lenient configuration when resolving JetBrains Runtime (JBR) depe…
Browse files Browse the repository at this point in the history
…ndencies
  • Loading branch information
hsz committed Jul 24, 2024
1 parent 753191b commit 35e359d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
### Fixed

- Sandbox producer of a custom task shouldn't inherit `sandboxDirectory` from the base sandbox producer.
- Use lenient configuration when resolving JetBrains Runtime (JBR) dependencies

## [2.0.0-rc1] - 2024-07-19

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ internal fun <T : Task> Project.preconfigureTask(task: T) {
*/
if (this is RuntimeAware) {
val javaRuntimePathResolver = JavaRuntimePathResolver(
jetbrainsRuntime = configurations[Configurations.JETBRAINS_RUNTIME],
jetbrainsRuntime = configurations[Configurations.JETBRAINS_RUNTIME].asLenient,
intellijPlatform = intelliJPlatformConfiguration,
javaToolchainSpec = project.the<JavaPluginExtension>().toolchain,
javaToolchainService = project.serviceOf<JavaToolchainService>(),
Expand Down

0 comments on commit 35e359d

Please sign in to comment.