Marc Knaup
10/08/2020, 4:38 PMInitialization script ‘/private/var/folders/wp/jsq85rms0tsf2h7x_9kqfztr0000gn/T/MigrationKt_main__.gradle’ line: 27
> Could not create task ‘raptorMigrationKt.main()’.
> Could not get unknown property ‘sourceSets’ for project ‘:raptor’ of type org.gradle.api.Project.It’s when I run a
main
function from IDE. The project is a JVM project and depends on a multi-module multiplatform library (raptor
) which is an included Gradle build.
Here’s the offending code generated by the IDE (the else
branch):