kotlin-gradle-plugin: manage dependencies correctly

This commit is contained in:
Natalia Ukhorskaya
2014-12-30 12:57:43 +03:00
parent 8cf5d92b57
commit 5fbf440e33
2 changed files with 16 additions and 1 deletions
+4 -1
View File
@@ -78,12 +78,15 @@
<module>tools/kotlin-jdk-annotations</module>
<module>tools/kotlin-android-sdk-annotations</module>
<module>tools/runtime</module>
<!--NB! kotlin-js-library should be built before kotlin-gradle-plugin-->
<!--because it is used in tests but cannot be added as test-dependency-->
<!--(kotlin-gradle-plugin module will be recognized as kotlin-js module)-->
<module>tools/kotlin-js-library</module>
<module>tools/kotlin-gradle-plugin-test</module>
<module>tools/kotlin-gradle-plugin</module>
<module>tools/kotlin-gradle-plugin-core</module>
<module>tools/kotlin-maven-plugin</module>
<module>tools/kotlin-maven-plugin-test</module>
<module>tools/kotlin-js-library</module>
<module>tools/kotlin-js-tests</module>
<module>tools/kotlin-js-tests-junit</module>
<module>tools/kdoc</module>
@@ -43,6 +43,18 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kdoc</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-gradle-plugin-core</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>