How would you go rewriting <this task> so that its...
# community-support
i
How would you go rewriting this task so that its arguments take a full
CopySpec
so it's possible to write
Copy code
from(project.tasks.named(configTask))
		from(project.tasks.named(sourceTask)) {
			into("kotlin")  // ← this
		}
(like is possible with the native
Copy
and
Sync
tasks)?
v
Probably depends on whether you want to use Gradle internals. (See https://github.com/gradle/gradle/issues/34235 and https://github.com/gradle/gradle/issues/34240)