Sergey Rostov
c71357dd76
173: jps, mpp: fix AbstractIncrementalJpsTest.kt.173
2018-06-08 13:50:05 +03:00
Sergey Rostov
5455b6c0c0
jps: add common source roots to the final platform modules as a workaround for absence of incremental k2metadata compiler
2018-06-08 09:46:56 +03:00
Sergey Rostov
e831964871
jps, daemon: pass incremental compilation flag from jps process to daemon
2018-06-08 09:46:52 +03:00
Sergey Rostov
5a2ed364fe
jps: checkCachesVersions for js and common (BuildMetaInfo save/check)
2018-06-08 09:46:49 +03:00
Sergey Rostov
3cfb200e07
jps: improve KotlinDirtySourceFilesHolder
2018-06-08 09:46:48 +03:00
Sergey Rostov
b5acb83325
jps: (minor) fix java module detection
2018-06-08 09:46:47 +03:00
Sergey Rostov
5478a552ed
jps, js: Fix exception on rebuild js module
2018-06-08 09:46:46 +03:00
Sergey Rostov
d75a2be31b
jps: Don't create cache for common modules (KOTLIN-CR-2028)
2018-06-08 09:46:45 +03:00
Sergey Rostov
c24aa13f12
jps: fixes for KOTLIN-CR-2028
2018-06-08 09:46:44 +03:00
Sergey Rostov
40b9fa88b7
jps: fix mergedCompilerArguments getter (mergedCompilerArguments)
2018-06-08 09:46:42 +03:00
Sergey Rostov
1cbef873ec
jps: implement mpp and js daemon compiler services
...
#KT-24635 fixed
2018-06-08 09:46:41 +03:00
Sergey Rostov
b2fedd7b1e
jps, mpp: fix marking expect/actual complementary files as dirty
...
This files should be marked as dirty for current round, not next
2018-06-08 09:46:40 +03:00
Sergey Rostov
65bdfa72c1
jps: support KotlinSourceRootType
...
KotlinSourceRootType will added with KotlinSourceRootProvider (ex KotlinMppCommonSourceRootProvider).
New target type (with computeAllTargets) is not possible because ModuleBuildTarget is final.
#KT-24506 fixed
2018-06-08 09:46:39 +03:00
Sergey Rostov
b2f58ad9c3
jps, mpp: temporary disable mpp tests
2018-06-08 09:46:38 +03:00
Sergey Rostov
0eee2729cd
jps: support multiplatform incremental compilation for jvm and js
...
- support common modules metadata compilation under flag (it is not required since all common source roots are included transitively for now)
- introduce expect actual tracker in jps: move implementation from gradle to build-common
- support js incremental compilation: move implementation from gradle to build-common
2018-06-08 09:46:37 +03:00
Sergey Rostov
098e51d104
jps: support dev kit module types (and all other ModuleBasedBuildTargetType). fix brunch 172
2018-05-24 14:59:46 +03:00
Sergey Rostov
ec5110e1f4
jps: support dev kit module types (and all other ModuleBasedBuildTargetType)
...
#KT-24500 fixed
2018-05-24 11:12:01 +03:00
Alexey Tsvetkov
7f865565a6
Improve JPS progress messages
...
#KT-9218 fixed
2018-05-18 23:50:08 +03:00
Alexey Sedunov
9fa26c83b6
Configuration: Introduce special source roots for non-JVM Kotlin modules
...
#KT-5948 Fixed
#KT-23672 Fixed
2018-05-18 12:09:40 +03:00
Vyacheslav Gerasimov
4adc0a94ab
as32: Update to 181 platform api
2018-05-10 23:28:41 +03:00
Sergey Rostov
9fafe0473c
jps (refactor): reimplement KotlinModuleBuildTarget data binding using CompileContext
2018-05-04 11:14:45 +03:00
Sergey Rostov
91b703d529
jps: common modules metadata compiler
...
(cherry picked from commit cde333d)
2018-05-04 11:05:13 +03:00
Sergey Rostov
41dcc9ad4d
jps: minor: refine kotlin.jps.model package
...
(cherry picked from commit 2a31e78)
2018-05-04 11:05:12 +03:00
Sergey Rostov
a390fc36e2
jps: Refactor module/project settings getters/setters
...
(cherry picked from commit d29ffa0)
2018-05-04 11:05:12 +03:00
Sergey Rostov
75e6be7802
jps(refactor): Extract platform related code
...
#KT-23656 Fixed
(cherry picked from commit 18a751d)
2018-05-04 11:05:12 +03:00
Nikolay Krasko
c83ff5e75f
Remove files introduced in 181 from 173 branch
2018-04-27 19:45:23 +03:00
Vyacheslav Gerasimov
8c88ac69df
Cleanup .181 bunch files
2018-04-27 18:25:21 +03:00
Vyacheslav Gerasimov
bc403ce744
Switch to 181 platform
2018-04-27 18:25:17 +03:00
Denis Zharkov
003f381fcd
Replace default-type dependencies to :kotlin-stdlib with distJar
...
Use distJar configuration instead.
It's necessary because currently when using default-type, subproject
starts having a transitive dependency to :kotlin-stdlib-common
and that leads to exception from KT-20897 when building light classes
This change might be reverted once KT-23942 is fixed
#KT-23942 Submitted
2018-04-26 16:11:27 +03:00
Alexey Tsvetkov
adc3e61742
Make assertion message more readable in JPS test
...
The test was failing recently on CI, but assertion message
does not give enough info: arrays' sizes are not equal,
so there were extra warnings, but what they were?
2018-04-22 23:05:59 +03:00
Zalim Bashorov
ab03ab84bb
Regenerate tests
2018-04-19 13:17:27 +03:00
Vyacheslav Gerasimov
16b314f860
as32: Remove JavaBuilderExtension from AS 3.2 C10
2018-04-13 21:33:16 +03:00
Vyacheslav Gerasimov
a6bd0f618e
as32: Remove platform-api & platform-impl from build scripts
...
since they are not present in AS 3.2 C10
2018-04-13 21:33:14 +03:00
Vyacheslav Gerasimov
4299455dc1
as32: Update to AS 3.2 C10
2018-04-13 21:33:03 +03:00
Alexey Tsvetkov
bd50ad87ba
Use KotlinCoreEnvironment for parsing Kotlin in IC
...
Creating and disposing CoreApplicationEnvironment on each call leads to
problems with parallel builds, while KotlinCoreEnvironment
avoids disposing application environment in case of parallel builds.
#KT-23694 fixed
2018-04-11 19:56:15 +03:00
Alexey Tsvetkov
39f7ecc9a3
181: Reimplement constant search in JPS
...
The API in Intellij have been changed after the PR was merged
(see https://github.com/JetBrains/intellij-community/commit/8227d8e2dd4d98d2ff248a1b193ba31831ddef50 )
This commit implements new API.
Also mocked Kotlin constant search is removed from JPS tests.
Mocked Java search is in place, but now
it is does not use hardcoded file and constant names.
#KT-16091 fixed
2018-04-11 16:28:38 +03:00
Vyacheslav Gerasimov
a0e20eefc6
181: Fix dependencies for 181
2018-04-11 16:28:29 +03:00
Simon Ogorodnik
e9caa54afa
as31: Remove dependencies on jps/test
2018-04-11 16:28:18 +03:00
Nikolay Krasko
4c8f366e46
172: [Tests] Revert "Modify incremental test in 173 branch - files are not create anymore"
...
This reverts commit 0cc5d163d7d620565a28681dab31f3d3061a1324.
2018-04-11 16:27:56 +03:00
Alexander Udalov
d2ed73eb78
Enable all Java 9 tests
2018-04-05 12:38:48 +02:00
Alexey Tsvetkov
6f59b6da8e
Use daemon if available for parsing files in JPS
2018-04-03 21:11:12 +03:00
Alexey Tsvetkov
3eb968807e
Invalidate usages of removed classes before round
...
#KT-23165 fixed
2018-04-03 21:11:12 +03:00
Alexey Tsvetkov
8cd0f13f2b
Convert KotlinSourceFileCollector: simplify after conversion
2018-04-03 21:11:11 +03:00
Alexey Tsvetkov
3f36f472b3
Convert KotlinSourceFileCollector: actual conversion
2018-04-03 21:11:11 +03:00
Alexey Tsvetkov
336d63c0a3
Convert KotlinSourceFileCollector: rename file
2018-04-03 21:11:11 +03:00
Alexey Tsvetkov
bd779cb26e
Remove usages of deprecated API
2018-04-03 21:11:11 +03:00
Alexey Tsvetkov
58e4b704c6
Replace reflection with direct call
2018-04-03 21:11:11 +03:00
Alexey Tsvetkov
fa9c80e05c
Convert CompilerRunnerUtil: actual conversion
2018-04-03 21:11:11 +03:00
Alexey Tsvetkov
f27b6c0d8d
Convert CompilerRunnerUtil: rename file
2018-04-03 21:11:11 +03:00
Alexey Tsvetkov
455fe7fe61
Reformat jps-plugin module
2018-04-03 21:11:11 +03:00