outputDirConnection

open override fun outputDirConnection(action: Action<in Service.DirectoryConnection>)

Overrides the way the generated models are connected. Use this if you want to connect the generated models to another task than the default destination.

By default, the generated sources are connected to:

  • main sourceSet for Kotlin projects

  • commonMain sourceSet for Kotlin multiplatform projects

  • main sourceSet for Android projects