Fix build-script error

This commit is contained in:
Iaroslav Postovalov 2020-10-11 01:24:16 +07:00
parent 956fe9b9e6
commit 8af6195265
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -35,11 +35,11 @@ kotlin {
}
}
}
}
internal val codegen: Task by tasks.creating {
matricesCodegen(kotlin.sourceSets["nativeMain"].kotlin.srcDirs.first().absolutePath + "/kscience/kmath/gsl/_Matrices.kt")
vectorsCodegen(kotlin.sourceSets["nativeMain"].kotlin.srcDirs.first().absolutePath + "/kscience/kmath/gsl/_Vectors.kt")
}
internal val codegen: Task by tasks.creating {
matricesCodegen(kotlin.sourceSets["nativeMain"].kotlin.srcDirs.first().absolutePath + "/kscience/kmath/gsl/_Matrices.kt")
vectorsCodegen(kotlin.sourceSets["nativeMain"].kotlin.srcDirs.first().absolutePath + "/kscience/kmath/gsl/_Vectors.kt")
}
kotlin.sourceSets["nativeMain"].kotlin.srcDirs(files().builtBy(codegen))
sourceSets["nativeMain"].kotlin.srcDirs(files().builtBy(codegen))
}