Artifactory deploy

This commit is contained in:
Alexander Nozik 2018-09-28 21:07:42 +03:00
parent 9c064b00b1
commit 38c7f4382a
4 changed files with 48 additions and 5 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
# Cache of project
.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
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
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

View File

@ -1,18 +1,50 @@
buildscript {
ext.kotlin_version = '1.2.61'
ext.kotlin_version = '1.2.71'
repositories {
mavenCentral()
jcenter()
}
dependencies {
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-publish'
apply plugin: "com.jfrog.artifactory"
group = 'scientifik'
version = '0.0.1-SNAPSHOT'
}
group = 'scientifik'
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"
}
}
publishing {
publications {
defaultPublication(MavenPublication) {
from components.java
}
}
}