Commit Graph

83 Commits

Author SHA1 Message Date
Pavel V. Talanov 7f173fe764 Fix most of the missing visibilities in stdlib
Specify visibilities and reformat surrounding code
Add test checking that there is no internal visibility specified in stdlib sources
Internal visibility does not make sense in stdlib
because it is either missed public or private would be more appropriate
2014-07-29 21:01:12 +04:00
Alexander Udalov 059538ce1b Extract kotlin-maven-plugin tests into a separate subproject
Because they need kotlin-runtime to run, which is built by kotlin-maven-plugin
2014-06-26 20:57:39 +04:00
Natalia Ukhorskaya 0340aba2ce Tools: add new gradle-test module to root pom.xml 2014-03-13 13:56:27 +04:00
Zalim Bashorov 2d31d62163 JS lib: drop es5 shims. 2014-02-06 12:21:12 +04:00
Natalia.Ukhorskaya 6bb1474ee8 Publish android-sdk-annotations in Maven 2013-08-08 17:54:18 +04:00
Leonid Shalupov 0ccb1d5f4a KT-1870 deploy to maven central 2013-07-13 14:25:29 +04:00
Leonid Shalupov d9a898330b fix maven-deploy-plugin version 2013-07-12 20:17:21 +04:00
Leonid Shalupov 9695ce70a6 KT-1870 maven profile to sign artifacts 2013-07-11 20:00:56 +04:00
Leonid Shalupov abcf5616f7 KT-3725 attach empty javadocs to all artifacts except compiler and runtime 2013-07-08 02:25:04 +04:00
Leonid Shalupov d0765d5e4a KT-3725 build sources.jar for all maven modules 2013-07-08 00:56:11 +04:00
Leonid Shalupov 8162fcd3eb KT-3725 better scm references 2013-07-06 16:17:52 +04:00
Leonid Shalupov dc9597759a KT-3725 required tags for Maven Central 2013-07-06 15:27:20 +04:00
Nikita Skvortsov 7e36547b38 Added wrapper module for gradle plugin 2013-05-30 15:21:25 +04:00
Nikita Skvortsov 7e58d83121 rename module 2013-05-30 15:21:25 +04:00
Nikita Skvortsov c67b4e4627 prepare pull request 2013-03-18 19:19:54 +04:00
Leonid Shalupov 7c3307cd60 maven: explicitly set maven-javadoc-plugin version 2013-02-22 19:04:47 +04:00
Andrey Breslav 3e7541605e Publish kotlin-jdk-annotations.jar in Maven 2012-12-10 13:39:58 +04:00
Nikolay Krasko 36d8500656 Revert explicit check for building with Java 1.6
#KT-2988 Fixed
2012-11-14 18:19:28 +04:00
James Strachan 3043577949 temporarily enforce jdk 1.6 in the maven build to provide a non-confusing compile error message if someone accidentally tries to build on JDK 7 which does not yet work (see KT-2988) 2012-10-24 09:23:32 +01:00
James Strachan ef0c8ab162 added explicit source plugin version 2012-10-24 09:08:07 +01:00
James Strachan f53a40d1e0 lowered the maven requirement version a little 2012-08-02 10:14:01 +01:00
James Strachan 4f5e2227b4 upgraded to latest selenium 2012-07-19 21:34:13 +01:00
James Strachan ebc87ea34d added a test case that ensures the generated JS code works in the browser example 2012-07-19 14:05:26 +01:00
James Strachan 00b0f26339 add a minimum maven version to give better errors if folks try build on 2.x 2012-07-18 07:00:06 +01:00
James Strachan bea649bf87 enabled the unit testing of a subset of the standard library JUnit test cases with the compiled JavaScript versions and running them in QUnit in a JUnit test case 2012-07-05 14:51:28 +01:00
James Strachan 20da5c48ea got the mvn k2js plugin working again & re-enabled the js building in the mvn build (apart from running the junit JS tests as some of them fail) 2012-07-05 11:43:35 +01:00
James Strachan d8d1da7334 disabled mvn compile of JS samples until we fix: java.lang.IllegalStateException: null at (5,10) in /stdlib/JUMaps.kt.jet 2012-07-03 08:12:51 +01:00
James Strachan 8637373aa2 disabled mvn compile of JS tests until we fix: java.lang.IllegalStateException: null at (5,10) in /stdlib/JUMaps.kt.jet 2012-07-03 07:42:21 +01:00
James Strachan 63e0f169fc re-enabled compiling to JS test cases now we've fixed the compilation of the latest comparator based standard library code 2012-06-29 23:13:05 +01:00
James Strachan e7d6263a58 temporary disabled 2 failing JS builds until I figure out the fix ;) 2012-06-26 06:29:33 +01:00
Alexander Zolotov 8b191f5179 Disabled failing JS test case (kotlin-js-tests module) until function comparator works 2012-06-25 23:40:30 +04:00
James Strachan 8646748e46 disabled failing JS test case until Collections.emptyList() works 2012-06-23 08:53:01 +01:00
James Strachan 965c433421 add a junit and selenium based test case of the JS compiled version of the kotlin standard ilbrary test cases 2012-06-15 21:09:56 +01:00
James Strachan 3546a9ff54 added an integration test that compiles the JS unit tests and generates the QUnit test case 2012-06-14 15:32:57 +01:00
Leonid Shalupov b243c5765d publish compiler with attach-artifact in maven 2012-06-04 23:47:25 +04:00
James Strachan c4439f33f0 avoided JS compile barf in JS generation and fix compile error of Node vals in generated DOM API 2012-05-31 09:26:55 +01:00
James Strachan fe68aeaa78 generate the Node.ELEMENT_NODE fields on the JS DOM API and refactored the kotlin.dom API so that it uses the Node.getNodeType() API rather than using "is" which is troublesome to implement on a browser/JS 2012-05-31 09:08:12 +01:00
James Strachan 4cff5f9759 modified the JS compiler so that it can have definitions and library sources specified or discovered on the classpath; so for example we can then discover the kotlin standard library kotlin that needs to be compiled; plus the JS library definitions (which map to the kotlin-lib.js file) 2012-05-30 15:51:08 +01:00
James Strachan 4921aeafc3 refactored the maven plugin to use the vanilla K2JSCompiler directly and avoid using the K2JVMCompiler when generating JS code; also included a default LibrarySourceConfig which detects JS library code on the classpath which works nicer in maven/ant style worlds where dependencies tend to be specified rather than file paths to zip files 2012-05-29 17:28:15 +01:00
James Strachan 2898abb245 simplified the kotlin-js-library source generation so we can selectively include some of the kotlin standard library for use in JS compilation 2012-05-29 08:49:36 +01:00
James Strachan ec1a7f44ae create a standard jar of the kotlin JS source that needs to be compiled when generating JS code so its easy to reuse using regular maven dependencies in build tools; updated the examples to reuse this so that its easy to build JS code without needing to know where on the file system a kotlin checkout lives 2012-05-28 17:16:12 +01:00
James Strachan 1254aa9e6f allow the JS compiler to reference the JS library source so that maven based JS compilation can work & use the new kotlin.browser API 2012-05-26 07:45:10 +01:00
Leonid Shalupov 0e435d5274 pack compiler sources and javadoc 2012-05-07 19:06:59 +04:00
Leonid Shalupov c0d6d97583 libraries: adapt to single repository schema 2012-05-07 17:06:26 +04:00
Leonid Shalupov c5e1225f1c libraries: redundant ${project.basedir} 2012-04-30 20:59:16 +04:00
Leonid Shalupov 3813e0a886 maven version = 0.1-SNAPSHOT 2012-04-12 13:03:15 +04:00
Leonid Shalupov 2bc2b123b3 fix build 2012-04-12 10:28:33 +04:00
Leonid Shalupov d1246abbf1 maven: get rid of intermediate poms: examples, docs, tools (artifacts garbage) 2012-04-12 09:33:48 +04:00
Leonid Shalupov db2e3b73aa fix kunit compilation 2012-04-09 23:03:24 +04:00
Leonid Shalupov 673c274ba4 add some maven distribution management 2012-04-07 20:42:28 +04:00