"No suitable driver found for jdbc:sqlserver" when running Groovy Sql from Gradle

@Nepomuk The driver needs to be loaded in the same ClassLoader as Groovy. Have a look at this forum post: Is it possible to execute sql scripts via gradle and get responses if the execution was successful or not?