pyryjook
06/04/2019, 6:11 AMbuild.gradle.kts
-file as follows:
macosX64 {
val lunchfinderMain by compilations.creating {
val coreLocation by cinterops.creating {
defFile(project.file("CoreLocation.def"))
packageName("platform.CoreLocation")
}
}
}
The file CoreLocation.def
is now located in the (default) path src/nativeInterop/cinterop/CoreLocation.def
When I run the build I get the same error as described in the ticket (the imported platform.CoreLocation
package not found).
Any suggestions on what might be wrong with my Gradle config? Thanks already in advance!pyryjook
06/04/2019, 6:14 AMplatform
package, but no difference there.Dominaezzz
06/04/2019, 8:06 AMproject.file("src/nativeInterop/cinterop/CoreLocation.def")
pyryjook
06/04/2019, 8:14 AMDominaezzz
06/04/2019, 8:23 AMcoreLocation
.Dominaezzz
06/04/2019, 8:24 AMpyryjook
06/04/2019, 8:48 AMval coreLocation
should have been val CoreLocation
when the file is named CoreLocation.def
?pyryjook
06/04/2019, 9:13 AMpyryjook
06/17/2019, 12:26 PM