From 49cc820afbddb7e84e7c5db586beaecc57fead81 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Fri, 19 May 2017 17:01:10 +0700 Subject: [PATCH] build: Upload kotlin-compiler sources to bintray mirror --- dependencies/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dependencies/build.gradle b/dependencies/build.gradle index 9c83843ae71..a972bae61b9 100644 --- a/dependencies/build.gradle +++ b/dependencies/build.gradle @@ -31,6 +31,8 @@ apply plugin: 'com.jfrog.bintray' configurations { kotlin_compiler_jar kotlin_compiler_pom + kotlin_compiler_src + kotlin_compiler_doc } // TODO: Check if we really need the our bintray mirror and delete the uploading code below if we don't. @@ -41,6 +43,8 @@ repositories { dependencies { kotlin_compiler_jar "$kotlinCompilerModule@jar" kotlin_compiler_pom "$kotlinCompilerModule@pom" + kotlin_compiler_src "$kotlinCompilerModule:sources@jar" + kotlin_compiler_doc "$kotlinCompilerModule:javadoc@jar" } // Hack kotlin-compiler pom-file to resolve the dependency correctly. @@ -83,6 +87,8 @@ bintray { def artifactPath = artifactId def versionPath = "${version.tokenize('-')[0]}-SNAPSHOT" from project.configurations.kotlin_compiler_jar.files + from project.configurations.kotlin_compiler_src.files + from project.configurations.kotlin_compiler_doc.files from generatePom.outputs.files into "$groupPath/$artifactPath/$versionPath" }