Explicitly mention the 'srcDir' option in the Gradle plugin readme (#1661)

This commit is contained in:
ilmat192
2018-06-06 15:01:30 +03:00
committed by GitHub
parent aa8ec8e24e
commit 5219565c4d
+2 -2
View File
@@ -57,13 +57,13 @@ v0.3.4. Use the `interop` method of the `konanArtifact` block instead:
}
All artifacts except interop libraries are built by the Kotlin/Native compiler. Such an artifact may be configured using its script block.
Here one can specify source files, used libraries and compilation flags (see [**Plugin DSL**](#plugin-dsl) section for details). The plugin
Here one can specify source directories, used libraries and compilation flags (see [**Plugin DSL**](#plugin-dsl) section for details). The plugin
uses `src/main/kotlin/` as a default source directory for all compiler artifacts:
konanArtifacts {
// Build foo.klib
library('foo') {
srcFiles fileTree('src/foo/kotlin') // Use custom source path
srcDir 'src/foo/kotlin' // Use custom source path
}
// Build executable 'bar'