Ilya Gorbunov
0180c614c0
Add parent pom reference to idl2k module.
...
Tie kotlin-version of dependencies to the version of parent project being built.
2016-10-01 01:19:15 +03:00
Ilya Gorbunov
282629f618
Remove overrides of equals and hashCode from AbstractCollection and AbstractMap.values, making the equality referential again.
2016-09-28 22:06:03 +03:00
Ilya Gorbunov
7dde8df9ae
Make mutation methods in AbstractMutable-collections abstract rather than implement them unsupported.
2016-09-28 22:06:03 +03:00
Ilya Gorbunov
38f030dce4
Split AbstractMap into readonly and mutable.
2016-09-28 22:06:03 +03:00
Ilya Gorbunov
a5c0f11d60
Split AbstractCollection, List, Set in JS to readonly Abstract[Collection] and mutable AbstractMutable[Collection].
...
Update compatibility type aliases.
2016-09-28 22:06:03 +03:00
Ilya Gorbunov
2bb1d6d5b4
Provide implementation of read-only AbstractCollection, AbstractList and AbstractSet,
...
Alias AbstactMutableCollection to java.util.AbstractCollection.
Change inheritance hierarchy of reversed list views.
2016-09-28 22:06:03 +03:00
Ilya Gorbunov
e342593d2e
Flatten HashMap hierarhy, provide string-keyed map and set specializations.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
75069143c7
Rewrite ArrayList, AbstractList, AbstractCollection in kotlin.
...
AbstractList is imported from GWT.
#KT-12386
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
47be8e664a
Minor: replace var with val.
2016-09-22 22:28:14 +03:00
Ilya Gorbunov
2c0edf6652
Fix working directory where CompilerSmokeTest runs to be 'project.build.directory', otherwise it may vary depending on maven goals invoked.
2016-09-22 21:59:10 +03:00
Ilya Gorbunov
f60447328d
Remove snapshot repository from idl2k module.
2016-09-22 21:52:33 +03:00
Alexey Tsvetkov
fc6773a416
Print gradle output only if test is failed
2016-09-22 20:43:01 +03:00
Mikhail Zarechenskiy
46ef1920d6
Update API listing after changes in runtime.jvm
2016-09-20 18:44:39 +03:00
Alexey Tsvetkov
7b99730e39
Test that typealias works with Gradle
...
#KT-13204 Obsolete
2016-09-14 18:30:02 +03:00
Alexey Tsvetkov
a04d60406b
Fix snapshot version in gradle tests
2016-09-14 14:13:59 +03:00
Alexey Tsvetkov
1bac872047
Do not try to remove source annotations from not .class file
2016-09-14 13:53:35 +03:00
Alexey Tsvetkov
d2677c0500
Change directory for sync task cache #KT-13732 fixed
2016-09-14 13:53:08 +03:00
Alexey Tsvetkov
508b965d88
Minor: fix gradle plugin order in test
2016-09-14 13:53:04 +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
Alexander Udalov
4d7d70db19
Regenerate public API reference after changes in runtime.jvm
2016-09-13 14:12:32 +03:00
Yan Zhulanow
78a4e90132
Minor: Fix Maven plugin compilation (configuration parameter is not required now in analyzeAndGenerate(), cherrypick problem)
2016-09-12 19:07:57 +03:00
Yan Zhulanow
261a300299
Do not dex kapt2 test classes (it consumes too much memory while RR)
...
(cherry picked from commit 54f7ac4)
2016-09-10 17:36:54 +03:00
Yan Zhulanow
015130832b
Kapt: allow to use Kapt from compileBunchOfSources()
2016-09-10 17:36:53 +03:00
Yan Zhulanow
30a29eaa46
Minor: Fix Gradle tests, update Kotlin artifact version to 1.1
2016-09-10 17:36:15 +03:00
Yan Zhulanow
00355f3c52
Kapt: Remove generated output directory each time before annotation processing
...
(cherry picked from commit c4b772a)
2016-09-10 17:36:15 +03:00
Yan Zhulanow
32d77e5226
Kapt: support incremental compilation in Gradle (KT-13500)
...
Kapt will process sources on each step of incremental compilation.
(cherry picked from commit 4cb2127)
2016-09-10 17:36:15 +03:00
Alexey Tsvetkov
eb22c94b6d
Fix maven build
2016-09-06 14:48:07 +03:00
Alexey Tsvetkov
2afd79c977
Fix compatibility with AS 2.2 gradle plugin
...
#KT-13594 fixed
2016-09-05 14:52:43 +03:00
Alexey Tsvetkov
6e4bbfef86
Fix snapshot version for testModuleKind
2016-09-05 14:52:35 +03:00
Alexey Tsvetkov
ed7d31eb6c
Assume cache format is always up-to-date when compiling non-incrementally
2016-09-05 14:52:27 +03:00
Alexey Tsvetkov
0b017aa3ca
Support multi-project IC for android projects
2016-09-05 14:52:23 +03:00
Alexey Tsvetkov
9f6509cd8e
Fixes after review
2016-09-05 14:52:20 +03:00
Alexey Tsvetkov
4e8deb9566
Implement multiproject IC in Gradle
...
#KT-13528 fixed
2016-09-05 14:52:17 +03:00
Alexey Tsvetkov
f967edfaeb
Join paths to string for better assertion message in idea
2016-09-05 14:52:14 +03:00
Alexey Tsvetkov
4ceec37bfe
Refactor version checking
2016-09-05 14:52:11 +03:00
Alexey Tsvetkov
eea01f468b
Introduce KotlinGradleBuildServices that is created once per build
2016-09-05 14:52:07 +03:00
Alexey Tsvetkov
7fa32a886d
Minor: remove outdated TODO
2016-09-05 14:52:04 +03:00
Alexey Tsvetkov
3922ebcd4b
Refactor loading kotlin version in gradle plugin
2016-09-05 14:51:56 +03:00
Alexey Tsvetkov
8a5df120a5
Ensure java is forced to compile when kotlin is compiled incrementally
...
Previously java compilation was not forced when there were only
removed kotlin files.
2016-09-05 14:51:49 +03:00
Sergey Mashkov
8ae5ecf4ff
KT-12810 IDL: support special modifiers(e.g. getter and setter)
2016-08-29 17:56:17 +03:00
Yan Zhulanow
1a1eb7dcfa
KT-12303 Pass only relevant annotations to annotation processors
...
(cherry picked from commit 01742aa)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
1b05c5fb0c
Kapt, Gradle: The first dependency is kotlin-annotation-processing (we reuse the old configurations from kapt)
...
(cherry picked from commit f95a3d1)
2016-08-29 16:31:16 +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
a9de8ec89b
Kapt: compile annotation-processing artifact with target "1.6"
...
(cherry picked from commit 1391e59)
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
9d340e1b83
Kapt: Filter out kapt2 sources in KotlinCompile task
...
(cherry picked from commit b248b20)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
04db25a190
Kapt Gradle plugin: use the old configuration names
...
(cherry picked from commit 6e72dc8)
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
Yan Zhulanow
6eb3d7e002
Kapt: Refactor kapt type wrappers. Now every ordinary (not NoType) type has a backed PsiType so it's easy to call utility functions from IntelliJ.
...
(cherry picked from commit 0a684aa)
2016-08-29 16:31:16 +03:00
Ilya Gorbunov
9c4221cda8
Return EMPTY range [0, -1] when MIN_VALUE is specified as exclusive upper bound.
...
#KT-12762 Fixed
2016-08-26 05:19:51 +03:00