Merge remote-tracking branch 'origin/dev' into nd4j

This commit is contained in:
Iaroslav Postovalov 2020-09-15 17:48:16 +07:00
commit 46d6918720
No known key found for this signature in database
GPG Key ID: 70D5F4DCB0972F1B
6 changed files with 45 additions and 16 deletions

View File

@ -1,6 +1,18 @@
# KMath
## [Unreleased]
### Added
### Changed
### Deprecated
### Removed
### Fixed
### Security
## [0.1.4]
### Added
- Functional Expressions API

View File

@ -1,8 +1,9 @@
plugins {
id("scientifik.publish") apply false
id("org.jetbrains.changelog") version "0.4.0"
}
val kmathVersion by extra("0.1.4-dev-8")
val kmathVersion by extra("0.1.4")
val bintrayRepo by extra("scientifik")
val githubProject by extra("kmath")
@ -15,8 +16,18 @@ allprojects {
maven("https://dl.bintray.com/hotkeytlt/maven")
}
group = "scientifik"
group = "kscience.kmath"
version = kmathVersion
afterEvaluate {
extensions.findByType<org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension>()?.run {
targets.all {
sourceSets.all {
languageSettings.useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")
}
}
}
}
}
subprojects {

View File

@ -0,0 +1,8 @@
package scientifik.kmath.operations
fun main() {
val res = BigIntField {
number(1) * 2
}
println("bigint:$res")
}

View File

@ -1,6 +1,11 @@
plugins { id("scientifik.mpp") }
plugins {
id("scientifik.mpp")
}
kotlin.sourceSets {
all { languageSettings.useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts") }
commonMain { dependencies { api(project(":kmath-memory")) } }
commonMain {
dependencies {
api(project(":kmath-memory"))
}
}
}

View File

@ -1,2 +1,3 @@
plugins { id("scientifik.mpp") }
kotlin.sourceSets.all { languageSettings.useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts") }
plugins {
id("scientifik.mpp")
}

View File

@ -1,6 +1,6 @@
pluginManagement {
val toolsVersion = "0.5.0"
val toolsVersion = "0.5.2"
plugins {
id("kotlinx.benchmark") version "0.2.0-dev-8"
@ -20,14 +20,6 @@ pluginManagement {
maven("https://dl.bintray.com/mipt-npm/dev")
maven("https://dl.bintray.com/kotlin/kotlinx")
}
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"scientifik.mpp", "scientifik.jvm", "scientifik.publish" -> useModule("scientifik:gradle-tools:$toolsVersion")
}
}
}
}
rootProject.name = "kmath"