Fix typos and remove some TODOs
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ Inspect the contents of `dist/klib/platform/$target` of the distribution for the
|
|||||||
|
|
||||||
## Availability by default
|
## Availability by default
|
||||||
|
|
||||||
The packages from platfrom libraries are available by default. No
|
The packages from platform libraries are available by default. No
|
||||||
special link flags need to be specified to use them. `Kotlin/Native`
|
special link flags need to be specified to use them. `Kotlin/Native`
|
||||||
compiler automatically detects which of the platform libraries have
|
compiler automatically detects which of the platform libraries have
|
||||||
been accessed and automatically links the needed libraries.
|
been accessed and automatically links the needed libraries.
|
||||||
|
|||||||
+1
-1
@@ -297,7 +297,7 @@ targetList.each { target ->
|
|||||||
targetDefFiles(target).forEach{
|
targetDefFiles(target).forEach{
|
||||||
defFile ->
|
defFile ->
|
||||||
def taskName = defFileToTaskName(target, defFile.name)
|
def taskName = defFileToTaskName(target, defFile.name)
|
||||||
def jvmArgs = project.findProperty("platfromLibsJvmArgs") ?: "-Xmx3G"
|
def jvmArgs = project.findProperty("platformLibsJvmArgs") ?: "-Xmx3G"
|
||||||
def suffix = null
|
def suffix = null
|
||||||
if (new PlatformInfo().isWindows())
|
if (new PlatformInfo().isWindows())
|
||||||
suffix = 'bat'
|
suffix = 'bat'
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ task buildSh(type: Exec) {
|
|||||||
workingDir projectDir.canonicalPath
|
workingDir projectDir.canonicalPath
|
||||||
}
|
}
|
||||||
|
|
||||||
task buildSamplesWithPlatfromLibs() {
|
task buildSamplesWithPlatformLibs() {
|
||||||
dependsOn ':csvparser:build'
|
dependsOn ':csvparser:build'
|
||||||
dependsOn ':nonBlockingEchoServer:build'
|
dependsOn ':nonBlockingEchoServer:build'
|
||||||
dependsOn ':objc:build'
|
dependsOn ':objc:build'
|
||||||
|
|||||||
@@ -84,8 +84,6 @@ sealed class DependencySource {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Try to use some dependency management system (Ivy?)
|
|
||||||
// TODO: Maybe rename.
|
|
||||||
/**
|
/**
|
||||||
* Inspects [dependencies] and downloads all the missing ones into [dependenciesDirectory] from [dependenciesUrl].
|
* Inspects [dependencies] and downloads all the missing ones into [dependenciesDirectory] from [dependenciesUrl].
|
||||||
* If [airplaneMode] is true will throw a RuntimeException instead of downloading.
|
* If [airplaneMode] is true will throw a RuntimeException instead of downloading.
|
||||||
@@ -110,7 +108,6 @@ class DependencyProcessor(dependenciesRoot: File,
|
|||||||
var showInfo = true
|
var showInfo = true
|
||||||
private var isInfoShown = false
|
private var isInfoShown = false
|
||||||
|
|
||||||
// TOOO: Rename pause -> interval
|
|
||||||
private val downloader = DependencyDownloader(maxAttempts, attemptIntervalMs, customProgressCallback)
|
private val downloader = DependencyDownloader(maxAttempts, attemptIntervalMs, customProgressCallback)
|
||||||
private val extractor = DependencyExtractor()
|
private val extractor = DependencyExtractor()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user