Alexander Udalov
13c54a2678
Drop external annotations support in build tools
...
External annotations will only be considered in the IDE for additional
inspections based on more precise types in Java libraries
2015-10-09 11:51:58 +02:00
Ilya Gorbunov
ed2b118fc8
Update java examples
2015-09-25 21:10:11 +03:00
Ilya Gorbunov
439d1026bf
Fix deprecations in js and java tests.
2015-09-19 05:04:41 +03:00
Denis Zharkov
5cecaa6f87
Get rid of deprecated annotations and modifiers in stdlib (besides JS)
2015-09-18 10:14:28 +03:00
Yan Zhulanow
39d7e98775
kapt: Support Kotlin code generation
2015-09-02 15:53:14 +03:00
ligee
d08570b8a8
Adding new target - embeddable compiler (after jarjar), using it in the gradle plugin
...
(cherry picked from commit bf4b26f)
2015-08-11 13:15:23 +02:00
Yan Zhulanow
c6ac878cf0
kapt: Add inherited annotations test
2015-07-07 16:35:21 +03:00
Yan Zhulanow
8a10de3a26
Add Gradle test for additional kapt arguments
2015-06-19 02:26:20 +03:00
Yan Zhulanow
37d52501c8
Add simple annotation processor for tests
2015-06-19 02:25:39 +03:00
Alexander Udalov
4c7bcc8e1a
Minor, specify version for maven-jar-plugin
2015-06-09 15:01:18 +03:00
Alexander Udalov
48b18f18d3
Restore explicit imports of Kotlin function types in Java
...
This is a follow-up to 738a84e259 and
d4965a4f3e . Optimize imports in all files
affected in those commits, drop temporary _.kt
2015-05-26 18:46:27 +03:00
Alexander Udalov
738a84e259
Temporary hack to migrate functions to package kotlin.jvm.functions
...
Add a file in package 'kotlin.jvm.functions' to the project and replace
explicit imports of functions 'kotlin.Function{n}' to two imports 'kotlin.*'
and 'kotlin.jvm.functions.*', so that the codebase can be compiled both by the
old and by the new compiler
2015-05-26 15:04:34 +03:00
Sergey Mashkov
09e7e0da4d
JS: example library to use new library format
2015-05-19 15:51:38 +03:00
Sergey Mashkov
42662d7349
JS: example project to produce full artifacts set: production+test sources jar, production+test binary jar
2015-05-18 19:36:19 +03:00
Sergey Mashkov
35ed682714
Maven: Introduce test-js goal
...
#KT-7757 Fixed Maven K2JS should be able to build tests too
2015-05-18 19:36:18 +03:00
Natalia Ukhorskaya
1ae3e9bbfe
Subplugin-example: change scope for gradle-api library
2015-04-27 16:24:52 +03:00
Michael Nedzelsky
6842c98285
JS: tests for KT-7357: extension functions from external KJS library couldn't be called in some cases
2015-04-15 17:00:06 +03:00
Pavel V. Talanov
ed218c473a
Get rid of 'class object' usages in code and builtins
...
Replace some comments and library usages as well
2015-03-25 18:28:00 +03:00
Yan Zhulanow
8760beeed1
Gradle subplugin test
2015-03-13 15:46:38 +03:00
Alexander Udalov
611700c998
Fix "mvn clean" in libraries/ project
...
JS examples were failing on "clean" because no phases were set for compilation
and thus they required kotlin-maven-plugin on every phase which is obviously
not built yet when we're running "clean"
2015-03-10 16:13:45 +03:00
Zalim Bashorov
465c4a397e
Rename manifest.properties to kotlinManifest.properties to avoid clashing with other resources.
2014-12-18 14:34:37 +03:00
Michael Nedzelsky
b71101942e
JS backend: maven projects: extract library js-files to target/js/lib, set scope=test for stdlib in browser-example*
2014-12-12 03:03:53 +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
Michael Nedzelsky
9734980334
JS maven tests: fixes configuration files
2014-12-12 03:03:45 +03:00
Michael Nedzelsky
68113ff33d
JS backend: change path to kotlin.js for tests
2014-12-12 03:03:00 +03:00
Alexander Udalov
6b0fce8cd5
Unsorted replacements "jet" -> "kotlin"
...
#KT-2896 Fixed
2014-03-02 19:55:15 +04:00
Erokhin Stanislav
4c57d70be9
JS backend: remove ECMA 3, but several tests is broken.
...
Main reason: overload extention property:
Int.bar = 1
String.bar = 2
2013-09-17 21:43:25 +04:00
Leonid Shalupov
4f6d09eaba
KT-1870 skip deployment of docs, tests and examples
2013-07-10 15:54:36 +04:00
Natalia.Ukhorskaya
5c56900a09
Fix maven build: rename namespace class to package class
2013-01-18 12:59:36 +04:00
Andrey Breslav
a93596ca5e
Fixing errors in Maven build
2012-12-10 21:39:04 +04:00
Pavel V. Talanov
358d8fe658
Use packaged js libraries from dist in maven browser-example target.
2012-08-16 15:18:00 +04: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
1aae3ff449
updated instructions
2012-07-19 10:26:56 +01:00
James Strachan
79904e23da
updated browser example so its working again ;)
2012-07-19 10:23:57 +01:00
James Strachan
3ebcb399c7
fixed up sample
2012-05-30 16:55:44 +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
13dfda92d1
added the ability to run the sample either in a web browser or in Java 7 with JavaFX and the KoolApp browser
2012-05-29 08:50:12 +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
e38aac1dce
added documentation on the sample
2012-05-26 07:56:38 +01:00
James Strachan
d6c7743aab
got a working sample! :)
2012-05-26 07:48:37 +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
James Strachan
296a5b6b6c
added a test case for using the kotlin.browser package from JS (which fails so far, but its a start ;)
2012-05-24 13:08:14 +01:00
Leonid Shalupov
3813e0a886
maven version = 0.1-SNAPSHOT
2012-04-12 13:03:15 +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
863042da27
maven artifacts: runtime, stdlib -> kotlin-runtime, kotlin-stdlib
2012-04-10 22:39:11 +04:00
James Strachan
ca7ff2e2e4
fix bad pom parent
2012-04-05 18:43:48 +01:00
James Strachan
a40f9ee9b1
refactored the maven project structure so that things are in a simpler tree structure to avoid folks getting lost
2012-04-05 16:20:06 +01:00
James Strachan
25c0ed3279
enabled the js example project
2012-03-30 09:43:05 +01:00
James Strachan
9d1a3873df
added a basic working JS compiler maven plugin (though it doesn't currently let you specify any library files to compile)
2012-03-29 21:04:24 +01:00