From 7ccbd363049e74ad9fecc31f33c606eb732e2f52 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Sun, 1 Apr 2018 21:23:44 +0300 Subject: [PATCH] Set module name for common projects, this isn't done automatically yet --- libraries/kotlin.test/common/build.gradle | 8 ++++++++ libraries/stdlib/common/build.gradle | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libraries/kotlin.test/common/build.gradle b/libraries/kotlin.test/common/build.gradle index 5daf04f8d25..a8f968bf037 100644 --- a/libraries/kotlin.test/common/build.gradle +++ b/libraries/kotlin.test/common/build.gradle @@ -25,4 +25,12 @@ classes.dependsOn.remove("compileJava") artifacts { archives sourcesJar archives javadocJar +} + +compileKotlinCommon { + kotlinOptions { + freeCompilerArgs = [ + "-module-name", project.name + ] + } } \ No newline at end of file diff --git a/libraries/stdlib/common/build.gradle b/libraries/stdlib/common/build.gradle index fdac7679150..beb72910735 100644 --- a/libraries/stdlib/common/build.gradle +++ b/libraries/stdlib/common/build.gradle @@ -34,16 +34,13 @@ compileKotlinCommon { // compilerJarFile = compilerJarWithBootstrapRuntime } -/* -// TODO: currently unsupported compileKotlinCommon { kotlinOptions { freeCompilerArgs = [ - "-module-name", "${project.name}".toString() + "-module-name", project.name ] } } -*/ kotlin.experimental.coroutines 'enable'