Ilya Chernikov
cb7f22ffec
Refactor JSR223 to support Compilable interface, drop daemon eval engine and sample, simplify
2016-12-15 07:26:07 +01:00
Ilya Chernikov
7c8b6ddca4
Implement proper collection of script compilation classpath, use it in the JSR223 example factories
...
Fixes #KT-14713
2016-12-15 07:26:07 +01:00
Ilya Chernikov
c82e91eafe
Implement Invocable on base evaluator and locally-evaluating JSR223 sample engines
...
fixes #KT-14707
2016-12-15 07:26:06 +01:00
Alexander Udalov
414daef001
Rename KotlinVersion->KotlinCompilerVersion, move to module util.runtime
...
Rename to avoid confusion with the recently added kotlin.KotlinVersion
2016-12-07 21:11:15 +03:00
Yan Zhulanow
95d1210317
Kapt3: Extract annotation processing to its own task in Gradle. Now the kotlinCompile task should know nothing about kapt, for the main task it's just a regular Java source root.
2016-12-05 19:57:49 +03:00
Ilya Gorbunov
a8cc04d433
Use JRE7 for tests in other modules employing selenium.
2016-11-22 22:59:08 +03:00
Ilya Chernikov
c2b5c11781
Fix all small and medium-sized issues after review
2016-10-12 15:37:54 +02:00
Ilya Chernikov
10d259771c
Refactor repl and JSR 223 support code, add separate example jars for each type of JSR 223 repl (with tests)
2016-10-12 15:37:52 +02:00
Alexander Udalov
87fe6c41df
Drop ExternalDeclarationsProvider
...
It was added for Android extensions, but now another mechanism is used there
(PackageFragmentProviderExtension), and there were no other implementations of
ExternalDeclarationsProvider in the project
2016-10-02 21:03:19 +03:00
Alexey Tsvetkov
6ebb50751c
Remove source annotations when copy class with kapt2
...
Writing source annotations enables incremental compilation for kapt2.
However they are not needed in bytecode, so we remove them when
copying classes.
# Conflicts:
# compiler/cli/src/org/jetbrains/kotlin/cli/jvm/K2JVMCompiler.kt
# compiler/frontend.java/src/org/jetbrains/kotlin/config/JVMConfigurationKeys.java
2016-09-14 13:52:56 +03:00
Yan Zhulanow
46367d720c
Kapt: Gradle integration tests for the new kapt
...
(cherry picked from commit 467d0fd)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
b13db88e6f
Kapt: Make javaCompile parameter in KotlinGradleSubplugin non-null
...
(cherry picked from commit 9686344)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
407af3a0e5
Kapt: Gradle plugin for the new kapt
...
(cherry picked from commit f4fc8f1)
2016-08-29 16:31:16 +03:00
Alexey Andreev
496539d101
KT-3008 Add module kind attribute to Maven plugin. Fix tests from libraries subproject
2016-06-27 15:33:26 +03:00
Alexey Tsvetkov
23353facca
Shade in kotlin-compiler-embeddable
...
Now kotlin gradle plugin is compatible with android gradle plugin 2.2
#KT-12478 fixed
#KT-12431 fixed
#KT-12406 fixed
2016-06-07 14:42:35 +03:00
Alexey Tsvetkov
10b9be9f51
Fix collecting source retention annotations
...
#KT-12187 fixed
2016-05-11 20:41:48 +03:00
Ilya Gorbunov
8425304866
Advance snapshot version to 1.1-SNAPSHOT
2016-05-11 17:28:38 +03:00
Yan Zhulanow
26ed1c3756
Move Android Extensions subplugin to the main kotlin-gradle-plugin artifact
2016-01-26 21:13:37 +03:00
Ilya Gorbunov
db9e458cf9
Fix imports in maven kotlin from java usage example.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
57dcbe0aea
Cleanup in libraries and tools: use property access syntax.
2016-01-17 15:52:14 +03:00
Ilya Gorbunov
19a4f65fd1
Cleanup in libraries
2016-01-17 15:52:12 +03:00
Ilya Gorbunov
b71b336a69
Fix fq names of moved facade classes in imports and other code occurrences
2015-12-29 18:04:13 +03:00
Sergey Mashkov
5ad0a84039
rename kotlin.test to kotlin-test
2015-12-21 15:10:24 +03:00
Sergey Mashkov
a5b098c4a7
kotlin.test: Rename jvm module to junit
2015-12-18 22:16:04 +03:00
Sergey Mashkov
1867abbbe7
Add kotlin.test library
2015-12-18 22:16:04 +03:00
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