kmath/build.gradle

49 lines
1.2 KiB
Groovy
Raw Normal View History

buildscript {
2018-10-09 12:22:35 +03:00
ext.kotlin_version = '1.3.0-rc-146'
repositories {
2018-09-28 21:07:42 +03:00
jcenter()
2018-09-30 17:18:04 +03:00
maven {
url = "http://dl.bintray.com/kotlin/kotlin-eap"
}
}
2018-09-30 17:18:04 +03:00
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2018-09-28 21:07:42 +03:00
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4+"
}
}
2018-09-30 17:18:04 +03:00
allprojects {
2018-09-28 21:07:42 +03:00
apply plugin: 'maven-publish'
apply plugin: "com.jfrog.artifactory"
group = 'scientifik'
version = '0.0.1-SNAPSHOT'
2018-08-22 12:45:05 +03:00
}
2018-09-28 21:07:42 +03:00
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}"
}
defaults {
2018-09-30 17:25:11 +03:00
publications('jvm', 'js', 'kotlinMultiplatform', 'metadata')
2018-09-30 17:18:04 +03:00
publishBuildInfo = false
2018-09-28 21:07:42 +03:00
publishArtifacts = true
publishPom = true
publishIvy = false
}
}
resolve {
repository {
repoKey = 'gradle-dev'
username = "${artifactory_user}"
password = "${artifactory_password}"
}
}
}