Skip to content

Commit

Permalink
IntelliJPlatformDependenciesExtension: generate Ivy artifacts with no…
Browse files Browse the repository at this point in the history
…rmalized path
  • Loading branch information
hsz committed Jan 9, 2024
1 parent fdca28d commit d07b8ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ abstract class IntelliJPlatformDependenciesExtension @Inject constructor(
name = type.dependency.name,
version = "${productInfo.version}+$hash",
).apply {
createIvyDependency(gradle, listOf(Publication(artifactPath.toUri().path, "directory", null, "default")))
createIvyDependency(gradle, listOf(Publication("/${artifactPath.toUri().path}", "directory", null, "default")))
}
},
action,
Expand Down Expand Up @@ -332,7 +332,7 @@ abstract class IntelliJPlatformDependenciesExtension @Inject constructor(
name = id,
version = "${productInfo.version}+$hash",
).apply {
createIvyDependency(gradle, jars.map { Publication(it.toUri().path, "jar", "jar", "default") })
createIvyDependency(gradle, jars.map { Publication("/${it.toUri().path}", "jar", "jar", "default") })
}
},
action,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ interface IntelliJPlatformExtension : ExtensionAware {
name = type.dependency.name,
version = "${productInfo.version}+$hash",
).apply {
createIvyDependency(gradle, listOf(Publication(artifactPath.toUri().path, "directory", null, "default")))
createIvyDependency(gradle, listOf(Publication("/${artifactPath.toUri().path}", "directory", null, "default")))
}
}
)
Expand Down

0 comments on commit d07b8ef

Please sign in to comment.