File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
plugin/src/main/kotlin/io/github/ttypic/swiftklib/gradle Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class SwiftKlibPlugin : Plugin<Project> {
56
56
val task = tasks.withType(CompileSwiftTask ::class .java).findByName(taskName)
57
57
? : return @configureEach
58
58
59
- cinterop.settings.defFile = task.defFile
59
+ cinterop.settings.definitionFile.set( task.defFile)
60
60
cinterop.dependsOn(task)
61
61
}
62
62
}
Original file line number Diff line number Diff line change @@ -238,9 +238,9 @@ abstract class CompileSwiftTask @Inject constructor(
238
238
239
239
# md5 ${libPath.md5()}
240
240
staticLibraries = ${libPath.name}
241
- libraryPaths = ${libPath.parentFile.absolutePath}
241
+ libraryPaths = " ${libPath.parentFile.absolutePath} "
242
242
243
- compilerOpts = -fmodules -I$modulePath
243
+ compilerOpts = -fmodules -I" $modulePath "
244
244
linkerOpts = $linkerOpts
245
245
""" .trimIndent()
246
246
You can’t perform that action at this time.
0 commit comments