Native: Is there an gradle's equivalent to CMake FindMySQL?

Hi

I am looking for a Gradle’s equivalent of the CMake FindMySQL located here https://gist.github.com/RenatoUtsch/1623340. This FindMySQL script is looking for installed MySQL instance within well known place on Windows or Linux.

Thank for any answer or pointer on how to do it?

None that I know of. You may have to write this yourself.

If you can open a connection to the MySQL server, using the SELECT @@basedir; query might be a better strategy than what that CMake file is doing.

Thanks for the suggestion… I will give a try… but I am more willing to detect the includes at compile time than to have a running MySQL server. As always, it is a trade off. But I want to kill CMake and being closer is a good option…