From f79146c6eee3428d835064554c1b38fcfce5ebfc Mon Sep 17 00:00:00 2001 From: luca992 Date: Fri, 7 Sep 2018 03:07:00 -0400 Subject: [PATCH] GRADLE_PLUGIN readme typo fixes (#2017) --- GRADLE_PLUGIN.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GRADLE_PLUGIN.md b/GRADLE_PLUGIN.md index 34b9e23d9a9..a786eae6199 100644 --- a/GRADLE_PLUGIN.md +++ b/GRADLE_PLUGIN.md @@ -825,7 +825,7 @@ components.test { It's possible to declare a cinterop dependency for a component. The DSL here is similar to the one used in the `konan` plugin: ```` -component.main { +components.main { dependencies { cinterop('mystdio') { // src/main/c_interop/mystdio.def is used as a def file. @@ -913,7 +913,7 @@ sourceSets.main { target('linux').srcDirs += 'src/main/linux' } -component.main { +components.main { // Set up targets targets = ['linux_x64', 'macos_x64', 'mingw_x64'] @@ -931,7 +931,7 @@ component.main { linkerOpts '-L/common/lib/path' } - dependnecies { + dependencies { // Dependency on a published Kotlin/Native library. implementation 'org.test:mylib:1.0'