Also, under the new dsl, when working with cintero...
# kotlin-native
d
Also, under the new dsl, when working with cinterop, is
defFile project.file("deffile.def")
suppose to default to
src/main/c_interop/deffile.def
? Currently its referencing the project root folder,
project_root/deffile.def
.
d
Remove the
project.file
and leave it as
defFile "deffile.def"
.
project.file
references the project root folder.
👍 1
d
sadly no dice on my end. Still resolves to the root directory. Here is what my cinterop looks like now
Copy code
cinterop('AFNetworking'){
            defFile "afnetworking.def"
            .....
            .....
        }
Well just found out that this worked like the previous interop dsl where if you omitted the defFile line it will default to the right folder 🙂