[Gradle] Removed using deprecated buildDir in GradleKotlinCompilerRunner

^KT-62527
This commit is contained in:
Dmitrii Krasnov
2023-12-01 15:03:33 +01:00
committed by Space Team
parent 0a57c661fd
commit eb69229b8f
@@ -340,7 +340,7 @@ internal open class GradleCompilerRunner(
val module = IncrementalModuleEntry(
project.path,
task.ownModuleName.get(),
project.buildDir,
project.layout.buildDirectory.get().asFile,
task.buildHistoryFile.get().asFile,
task.abiSnapshotFile.get().asFile
)
@@ -375,7 +375,7 @@ internal open class GradleCompilerRunner(
val module = IncrementalModuleEntry(
project.path,
kotlinTask.ownModuleName.get(),
project.buildDir,
project.layout.buildDirectory.get().asFile,
kotlinTask.buildHistoryFile.get().asFile,
kotlinTask.abiSnapshotFile.get().asFile
)
@@ -395,7 +395,7 @@ internal open class GradleCompilerRunner(
}
return IncrementalModuleInfo(
rootProjectBuildDir = gradle.rootProject.buildDir,
rootProjectBuildDir = gradle.rootProject.layout.buildDirectory.get().asFile,
dirToModule = dirToModule,
nameToModules = nameToModules,
jarToClassListFile = jarToClassListFile,