This message was deleted.
# community-support
s
This message was deleted.
t
Hello Adam 👋 Try to locate the task by the name and add additional log statements to sneak pick into its runtime. Maybe, this will help you to troubleshoot your issue.
Copy code
project.tasks.configureEach {
            if (name == "yourTaskName") {
                val task = this
                task.doFirst {
                    task.logger.warn("?????")
                }
            }
        }
a
Hi Tom, I've got the task, but I can't see any option to change the C++ toolchain so the task will use the MSYS2 gcc
I've tried changing the toolchain for all CppCompile tasks to use the gcc toolchain, but it doesn't make a difference
Copy code
tasks.withType<CppCompile>().configureEach {
  @Suppress("UnstableApiUsage")
  toolChain.set(toolChains.getByName("gcc"))
}