russhwolf
05/20/2018, 5:36 AMmsink
05/20/2018, 5:55 AMolonho
05/20/2018, 7:49 AMolonho
05/20/2018, 10:32 AMbuildscript {
repositories {
mavenCentral()
maven {
url "<https://dl.bintray.com/jetbrains/kotlin-native-dependencies>"
}
dependencies {
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.1-SNAPSHOT"
}
}
publishing {
repositories {
maven {
url = '<https://dl.bintray.com/sample/sample-url-repo>'
}
}
}
...
apply plugin: 'com.jfrog.bintray'
bintray {
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
pkg {
userOrg = 'sample'
repo = 'sample-url-repo'
name = 'repo-name'
version {
name = project.version
vcsTag = project.version
released = new Date()
}
}
}
bintrayUpload.doFirst {
publications = project.publishing.publications
}
russhwolf
05/20/2018, 1:05 PMuseRepo
property in the libraries
block only seems to allow local paths.sandwwraith
05/20/2018, 6:39 PMrusshwolf
05/20/2018, 6:47 PMdependencies
block inside of an artifact in konanArtifacts
. I think that’s missing from the documentation at https://github.com/JetBrains/kotlin-native/blob/master/GRADLE_PLUGIN.md which only mentions expectedBy
dependenciesrusshwolf
05/20/2018, 6:49 PMartifactxxx
where xxx
is the artifact name? or is artifactsample
a standard syntax?msink
05/21/2018, 4:24 AMartifact
konanArtifacts {
program('Curl') {
dependsOn ':libcurl:publish'
dependencies {
artifactCurl 'org.jetbrains.kotlin.native:libcurl:1.0'
}
}
}