Artifactory deploy
This commit is contained in:
parent
9c064b00b1
commit
38c7f4382a
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@
|
|||||||
# Cache of project
|
# Cache of project
|
||||||
.gradletasknamecache
|
.gradletasknamecache
|
||||||
|
|
||||||
|
gradle.properties
|
@ -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
|
||||||
|
40
build.gradle
40
build.gradle
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -28,3 +28,11 @@ kotlin {
|
|||||||
coroutines "enable"
|
coroutines "enable"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
defaultPublication(MavenPublication) {
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user