Sergey Rostov
cb3e08b345
GradleScriptListenerTest: add gradle-wrapper.properties to specify gradle version explicitly
2020-05-26 19:22:04 +03:00
Sergey Rostov
ec9608b00d
ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock
2020-05-26 19:22:04 +03:00
Sergey Rostov
59c35fe35c
ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync
2020-05-26 19:22:04 +03:00
Sergey Rostov
2932c67db7
gradle.kts: remove LastModifiedFiles fs data when removing gradle root
2020-05-26 19:22:04 +03:00
Sergey Rostov
6b53a98399
gradle.kts, minor: move isInAffectedGradleProjectFiles inside GradleBuildRootsManager
2020-05-26 19:22:03 +03:00
Sergey Rostov
b233a2a83a
GradleScriptListenerTest: link gradle project
2020-05-26 19:22:03 +03:00
Sergey Rostov
13abfda00b
GradleBuildRootsManager: fix onProjectsLinked
2020-05-26 19:22:03 +03:00
Sergey Rostov
5cd9e99caa
GradleLegacyScriptListener: call from GradleScriptListener
...
GradleScriptListener is called from VFS listener
2020-05-26 19:22:03 +03:00
Sergey Rostov
bac68816d2
gradle.kts: use toSystemIndependentName for paths coming from Gradle
2020-05-26 19:22:02 +03:00
Sergey Rostov
381d505430
ScriptClassRootsUpdater: run synchronously in unit test mode
2020-05-26 19:22:02 +03:00
Sergey Rostov
4e8b1634e6
UnusedSymbolInspection: load script configurations from cache
2020-05-26 19:22:02 +03:00
Sergey Rostov
d937b66f30
gradle.kts, scheduleLastModifiedFilesSave: fix race condition
2020-05-26 19:22:02 +03:00
Sergey Rostov
e168cb739c
gradle.kts, minor: areRelatedFilesUpToDate -> areRelatedFilesChangedBefore
2020-05-26 19:22:02 +03:00
Sergey Rostov
d84acb8ca2
GradleScriptListener: update lastModifiedFiles on document change
2020-05-26 19:22:01 +03:00
Sergey Rostov
62bd16ddf9
GradleBuildRoot: fix loading lastModifiedFiles
2020-05-26 19:22:01 +03:00
Sergey Rostov
70a3877546
LastModifiedFiles: fix in case of sequential changes in same file
2020-05-26 19:22:01 +03:00
Sergey Rostov
f161276949
.gradle.kts, listener: support multiple gradle projects linked to one IntelliJ project
...
GradleScriptInputsWatcher moved to GradleScriptListener.kt and GradleBuildRootsManager.kt
2020-05-26 19:22:01 +03:00
Sergey Rostov
e376a04b5a
gradle.kts: docs
2020-05-26 19:22:00 +03:00
Sergey Rostov
d6adab785a
ScriptConfigurationManager: take OutsidersPsiFileSupport into account
2020-05-26 19:22:00 +03:00
Sergey Rostov
bfa88267ec
Scripts, minor: get rid of ScriptingSupportHelper
2020-05-26 19:22:00 +03:00
Sergey Rostov
bae550665e
gradle.kts: merge data on failed gradle sync, fix updates scheduling in corner cases
2020-05-26 19:22:00 +03:00
Sergey Rostov
381374d339
gradle.kts: solve the linked gradle builds hell
2020-05-26 19:22:00 +03:00
Sergey Rostov
d8abf60b3d
gradle.kts, imported gradle build root: fix equality
2020-05-26 19:21:59 +03:00
Sergey Rostov
560c2b62ef
ScriptConfigurationManager, outsider files: search in roots cache too
2020-05-26 19:21:59 +03:00
Sergey Rostov
347f69b1fd
ScriptConfigurationManager: rebuild cache synchronously from default loader
2020-05-26 19:21:59 +03:00
Sergey Rostov
feac19f46e
gradle.kts: cache definitions
2020-05-26 19:21:59 +03:00
Sergey Rostov
1fdd1bcbf6
gradle.kts: remove useless gradle build root kinds
2020-05-26 19:21:58 +03:00
Sergey Rostov
4e61758188
CompositeScriptConfigurationManager: unified caching
2020-05-26 19:21:58 +03:00
Sergey Rostov
d21a7f54e4
GradleScriptConfigurationLoader: KDocs
2020-05-26 19:21:58 +03:00
Sergey Rostov
8f75f72835
Revert "Fix order of ExternalSystemListeners"
...
This reverts commit 879fe9b4
2020-05-26 19:21:58 +03:00
Sergey Rostov
7ec82ba279
Revert "KotlinDslModels: project can be null in ExternalSystemTaskNotificationListener.onStart"
...
This reverts commit 98d3855f
2020-05-26 19:21:57 +03:00
Natalia Selezneva
ba5fe6cda9
Testing: Avoid creating duplicated SDKs
2020-05-26 19:21:57 +03:00
nataliya.valtman
22243c756b
Revert "KT-38250 The minimal supported Gradle version is 5.3 now"
...
This reverts commit 61f213c8
2020-05-26 19:06:47 +03:00
Ilya Goncharov
f7ee9b42d7
[Gradle, JS] Update package json only if version of dependency changed
2020-05-26 18:21:42 +03:00
Ilya Goncharov
f064634eb0
[Gradle, JS] Backport possibility to disable granular workspaces
2020-05-26 18:21:42 +03:00
Ilya Goncharov
60515aad77
[Gradle, JS] Move umbrella task to nodejs extension
2020-05-26 18:21:42 +03:00
Ilya Goncharov
549797c719
[Gradle, JS] Add nodeArgs
2020-05-26 18:21:42 +03:00
Ilya Goncharov
b201ff0168
[Gradle, JS] Args for webpack
2020-05-26 18:21:42 +03:00
Ilya Goncharov
0a704cf52c
[Gradle, JS] Add generate config only to webpack
2020-05-26 18:21:42 +03:00
Sergey Rostov
61f213c80c
KT-38250 The minimal supported Gradle version is 5.3 now
...
Gradle integration tests: use at least OLDEST_SUPPORTED version.
extract minSupportedGradleVersion for using both in check and tests
avoid using Usage.JAVA_API_JARS and JAVA_RUNTIME_JARS
2020-05-26 18:08:26 +03:00
Nicolay Mitropolsky
0bb3a4ccb7
201: Uast: KotlinUastCodeGenerationPlugin on the level needed for ReactorSupport (KT-38062)
2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky
8434806f56
Ide-common: resolveToKotlinType moved to TypeUtils.kt in the *ide-common*
2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky
70237ecf31
Uast: explicitly expose implicit Lambda parameters
2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky
5f64c6b9f1
Uast: a proper sourcePsi for lambda parameters
2020-05-26 17:39:43 +03:00
anastasiia.spaseeva
9d862aaa1d
[Spec tests] Remove spec info from fir tests
2020-05-26 17:27:06 +03:00
anastasiia.spaseeva
5ba9d09278
[Spec tests] Fix fir test runner for spec tests
2020-05-26 17:27:06 +03:00
Ilya Chernikov
2509dfb287
Rename scripting libs and plugin - invert embeddable suffix
...
now regular, unshaded libs, are named with suffix `-unshaded`, while
former `-embeddable` ones named without any suffix. This will encoursge
use of the shaded libs by default, avoiding conflicts with 3-party
libs packed into the `kotlin-compiler`.
Note, that only the "frontline" libs are renamed to avoid switching
problems, the ones that not normally used directly are left as is,
including the `kotlin-compiler` itself.
2020-05-26 15:58:25 +02:00
Zalim Bashorov
f39165bb58
Revert accidentally pushed changes
...
Revert "~~~"
This reverts commit 03fcbfad
Revert "Add an ability to provide own handler for errors inside KotlinJavascriptMetadataUtils.loadMetadata"
This reverts commit 69827fc5
Revert "Add more detailed message for EA-227305 and EA-226744"
This reverts commit b79b3507
2020-05-26 16:15:59 +03:00
Roman Golyshev
eb838b0fa0
KT-39179 Replace ApplicationBundle with KotlinBundle
...
- Used bundle messages are moved to JavaBundle in platform >= 201
- ^KT-39179 Fixed
2020-05-26 13:00:12 +00:00
Zalim Bashorov
03fcbfad1a
~~~
2020-05-26 15:43:05 +03:00