From 5219565c4d67ce48e25620b03d3677afeb906ffa Mon Sep 17 00:00:00 2001 From: ilmat192 Date: Wed, 6 Jun 2018 15:01:30 +0300 Subject: [PATCH] Explicitly mention the 'srcDir' option in the Gradle plugin readme (#1661) --- GRADLE_PLUGIN.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GRADLE_PLUGIN.md b/GRADLE_PLUGIN.md index ecb6b184a60..41a7195d7ec 100644 --- a/GRADLE_PLUGIN.md +++ b/GRADLE_PLUGIN.md @@ -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'