This message was deleted.
# native
s
This message was deleted.
d
Did you say you were able to link against OpenCV with Nokee plugin and now it doesn’t work? Or you had another solution and migrated to Nokee plugin and now it doesn’t work?
m
The second one, I had an other solution
d
Most of how you did it previously should still work. Under the hood, Nokee uses the same Gradle core task type. Unless you weren’t using any of the software model or newer native model from Gradle core.
Do you have something you can share?
m
I was using a solution on the android platform, and I had no success migrateing it to desktop.
I have sent you the project in private.
I found the solution for my problem:
Copy code
library {
    variants.configureEach {
        sharedLibrary {
            compileTasks.configureEach {
                compilerArgs.addAll([])
            }
            linkTask.configure {
                linkerArgs.addAll([])
            }
        }
    }
}
d
Sorry for the delay, that would allow you to configure the arguments. You can also use
includes
and
libs
under compile tasks and link task respectively. The difference is in terms of task input calculation.
❤️ 1