Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
Explicitly mention the 'srcDir' option in the Gradle plugin readme (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmat192 authored Jun 6, 2018
1 parent aa8ec8e commit 5219565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GRADLE_PLUGIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5219565

Please sign in to comment.