Commit Graph

194 Commits

Author SHA1 Message Date
Yan Zhulanow 8760beeed1 Gradle subplugin test 2015-03-13 15:46:38 +03:00
Alexander Udalov 2b090e02a1 Build kotlin-reflect.jar in build.xml and for Maven
Reflection will be distributed in a separate jar and not in kotlin-runtime.jar
for two primary reasons:
- Reflection implementation at the moment takes almost 2Mb
- Separate libraries for separate features is a technique encouraged by Maven,
  and it's inconvenient to make it different in the compiler distribution
2015-03-11 16:42:28 +03:00
Alexander Udalov eced3003ad Introduce kotlin-reflect Maven artifact 2015-03-07 02:31:00 +03:00
Yan Zhulanow fbed5426e2 Kotlin Gradle subplugin support 2015-02-26 15:25:55 +03:00
Yan Zhulanow e5b16afff5 Support android-compiler-plugin in Gradle 2015-02-26 15:25:50 +03:00
Natalia Ukhorskaya 292f82b767 Remove kotlin-gradle-plugin-test module 2014-12-31 12:05:46 +03:00
Natalia Ukhorskaya 5fbf440e33 kotlin-gradle-plugin: manage dependencies correctly 2014-12-31 12:05:45 +03:00
Michael Nedzelsky 85a16c3c51 add browser-example-with-library maven project (kotlin->javascript) 2014-12-12 03:03:50 +03:00
Michael Nedzelsky 6c55e12588 add kotlin-js-library-example maven project 2014-12-12 03:03:48 +03:00
Zalim Bashorov 1b2aa205ec Introduce assertNotEquals 2014-10-13 21:25:55 +04:00
Zalim Bashorov 8f6b12d296 Fixed maven build 2014-10-06 23:18:53 +04:00
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