kotlin { // there is no Linux HMPP shortcut preset, so need to configure targets and common source sets manually val linuxMain by sourceSets.creating { dependsOn(sourceSets["commonMain"]) } val linuxTest by sourceSets.creating { dependsOn(sourceSets["commonTest"]) } linuxX64 { with(compilations["main"].defaultSourceSet) { dependsOn(linuxMain) kotlin.srcDir("src/main") } with(compilations["test"].defaultSourceSet) { dependsOn(linuxTest) kotlin.srcDir("src/test") } } linuxArm64 { compilations["main"].defaultSourceSet.dependsOn(linuxMain) compilations["test"].defaultSourceSet.dependsOn(linuxTest) } } // project-specific settings go under this line