Update from dev #16

Merged
altavir merged 18 commits from dev into master 2018-10-12 11:18:55 +03:00
4 changed files with 48 additions and 5 deletions
Showing only changes of commit 38c7f4382a - Show all commits

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
# Cache of project # Cache of project
.gradletasknamecache .gradletasknamecache
gradle.properties

View File

@ -30,6 +30,8 @@ platform even if they could be done in common module because of platform perform
Currently the main focus of development is the JVM platform, contribution of implementations for Kotlin - Native and Currently the main focus of development is the JVM platform, contribution of implementations for Kotlin - Native and
Kotlin - JS is welcome. Kotlin - JS is welcome.
It is planned to move project structure to [kotlin gradle mpp structure](https://github.com/h0tk3y/k-new-mpp-samples) after release of kotlin 1.3.
## Performance ## Performance
The calculation performance is one of major goals of KMath in the future, but in some cases it is not possible to achieve The calculation performance is one of major goals of KMath in the future, but in some cases it is not possible to achieve
both performance and flexibility. We expect to firstly focus on creating convenient universal API and then work on both performance and flexibility. We expect to firstly focus on creating convenient universal API and then work on

View File

@ -1,18 +1,50 @@
buildscript { buildscript {
ext.kotlin_version = '1.2.61' ext.kotlin_version = '1.2.71'
repositories { repositories {
mavenCentral() jcenter()
} }
dependencies { dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4+"
} }
} }
subprojects{ allprojects{
apply plugin: 'maven' apply plugin: 'maven'
} apply plugin: 'maven-publish'
apply plugin: "com.jfrog.artifactory"
group = 'scientifik' group = 'scientifik'
version = '0.0.1-SNAPSHOT' version = '0.0.1-SNAPSHOT'
}
artifactory {
contextUrl = "${artifactory_contextUrl}" //The base Artifactory URL if not overridden by the publisher/resolver
publish {
repository {
repoKey = 'gradle-dev-local'
username = "${artifactory_user}"
password = "${artifactory_password}"
maven = true
}
defaults {
publications 'defaultPublication'
publishBuildInfo = true
publishArtifacts = true
publishPom = true
publishIvy = false
}
}
resolve {
repository {
repoKey = 'gradle-dev'
username = "${artifactory_user}"
password = "${artifactory_password}"
maven = true
}
}
}

View File

@ -28,3 +28,11 @@ kotlin {
coroutines "enable" coroutines "enable"
} }
} }
publishing {
publications {
defaultPublication(MavenPublication) {
from components.java
}
}
}