[Build] Use dependencies.create instead of dependencies.module
It seems there was no actual need for a call to `dependencies.module`.Also, it's going to be deprecated in Gradle 8.3 ^KTI-1473 In Progress
This commit is contained in:
committed by
Space Team
parent
a19bd2ed2e
commit
ad677cb573
@@ -102,7 +102,7 @@ projectTest {
|
||||
val runtimeJarPathProvider = project.provider {
|
||||
val jar = runtimeJar.get().outputs.files.asPath
|
||||
val trove = configurations.detachedConfiguration(
|
||||
dependencies.module(commonDependency("org.jetbrains.intellij.deps:trove4j"))
|
||||
dependencies.create(commonDependency("org.jetbrains.intellij.deps:trove4j"))
|
||||
)
|
||||
(trove.files + jar).joinToString(File.pathSeparatorChar.toString())
|
||||
}
|
||||
|
||||
@@ -150,7 +150,7 @@ fun Project.nativeTest(
|
||||
val kotlinNativeCompilerEmbeddable = if (customNativeHome == null)
|
||||
configurations.detachedConfiguration(
|
||||
dependencies.project(":kotlin-native:prepare:kotlin-native-compiler-embeddable"),
|
||||
dependencies.module(commonDependency("org.jetbrains.intellij.deps:trove4j"))
|
||||
dependencies.create(commonDependency("org.jetbrains.intellij.deps:trove4j"))
|
||||
).also { dependsOn(it) }
|
||||
else
|
||||
null
|
||||
|
||||
Reference in New Issue
Block a user