[Gradle] Removed using deprecated buildDir in GradleKotlinCompilerRunner
^KT-62527
This commit is contained in:
committed by
Space Team
parent
0a57c661fd
commit
eb69229b8f
+3
-3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user