diff --git a/libraries/stdlib/ReadMe.md b/libraries/stdlib/ReadMe.md index bfe5c6a96fd..da7440e97ae 100644 --- a/libraries/stdlib/ReadMe.md +++ b/libraries/stdlib/ReadMe.md @@ -8,7 +8,7 @@ We use some code generation to apply the various collection-like methods to vari To run the code generator from a kotlin checkout - cd libraries/stdlib - mvn test-compile exec:java + cd libraries/tools/kotlin-stdlib-gen + mvn compile exec:java -This then runs the [GenerateStandardLib.kt](https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/test/org/jetbrains/kotlin/tools/GenerateStandardLib.kt) script to create the source from the files for java.lang.Iterable and java.util.Collection etc. \ No newline at end of file +This then runs the [GenerateStandardLib.kt](https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-stdlib-gen/src/generators/GenerateStandardLib.kt) script to create the source from the files for java.lang.Iterable and java.util.Collection etc. \ No newline at end of file diff --git a/libraries/stdlib/pom.xml b/libraries/stdlib/pom.xml index e539dcf82bb..0b03eac4279 100644 --- a/libraries/stdlib/pom.xml +++ b/libraries/stdlib/pom.xml @@ -26,24 +26,7 @@ test - - org.codehaus.mojo - exec-maven-plugin - ${exec-maven-plugin.version} - - - - java - - - - - org.jetbrains.kotlin.tools.ToolsPackage - test - - - - + org.jetbrains.kotlin kotlin-maven-plugin ${project.version} diff --git a/libraries/tools/kotlin-stdlib-gen/pom.xml b/libraries/tools/kotlin-stdlib-gen/pom.xml index 4184d4ff781..8c3bed54878 100644 --- a/libraries/tools/kotlin-stdlib-gen/pom.xml +++ b/libraries/tools/kotlin-stdlib-gen/pom.xml @@ -26,6 +26,7 @@ + src maven-deploy-plugin @@ -33,6 +34,40 @@ true + + org.jetbrains.kotlin + kotlin-maven-plugin + ${project.version} + + + + compile + compile + + compile + + + + + + org.codehaus.mojo + exec-maven-plugin + ${exec-maven-plugin.version} + + + + java + + + + + generators.GeneratorsPackage + compile + + ${project.parent.basedir}/.. + + +