Skip to content

Commit

Permalink
Fix documentation, update Kotlin, remove binaries configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderTvis committed Jul 15, 2021
1 parent 7c686c7 commit eeecbe6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
27 changes: 16 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
}

group = "space.kscience"
version = "0.3.0-dev-2"
version = "0.3.0-dev-3"

repositories {
mavenCentral()
Expand Down Expand Up @@ -140,13 +140,6 @@ kotlin {

tasks[main.cinterops["libgsl"].interopProcessingTaskName].dependsOn(writeDefFile)

nativeTarget.binaries {
all {
optimized = false
debuggable = true
}
}

targets.all {
compilations.all {
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
Expand Down Expand Up @@ -178,9 +171,21 @@ afterEvaluate {
dokkaSourceSets.all {
val readmeFile = File(projectDir, "./README.md")
if (readmeFile.exists()) includes.from(readmeFile)
externalDocumentationLink("https://mipt-npm.github.io/kmath/kmath-core/kmath-core/")
externalDocumentationLink("https://mipt-npm.github.io/kmath/kmath-memory/kmath-memory/")
externalDocumentationLink("https://mipt-npm.github.io/kmath/kmath-complex/kmath-complex/")

externalDocumentationLink(
"https://mipt-npm.github.io/kmath/kmath-core/",
"https://mipt-npm.github.io/kmath/kmath-core/kmath-core/package-list",
)

externalDocumentationLink(
"https://mipt-npm.github.io/kmath/kmath-memory/",
"https://mipt-npm.github.io/kmath/kmath-memory/kmath-memory/package-list",
)

externalDocumentationLink(
"https://mipt-npm.github.io/kmath/kmath-complex/",
"https://mipt-npm.github.io/kmath/kmath-complex/kmath-complex/package-list",
)
}
}
}
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pluginManagement {
id("ru.mipt.npm.gradle.project") version toolsVersion
id("ru.mipt.npm.gradle.common") version toolsVersion
id("de.undercouch.download") version "4.1.2"
kotlin("multiplatform") version "1.5.20"
kotlin("multiplatform") version "1.5.21"
}
}

Expand Down

0 comments on commit eeecbe6

Please sign in to comment.