Pavel V. Talanov
6424b6760f
Remove StorageComponentContainerContributor::onContainerComposed
...
Rename addDeclarations -> registerModuleComponents
Use it to provide SamWithReceiverResolver extensions instead
Post construction on container composition can be achieved
but manually inserting injections where it seems appropriate
is bug prone
This fixes a bug where SamWithReceiverPlugin extension was not registered
for some containers in IDE which led to incorrect highlighting in IDE
Add IDE test for applying SamWithReceiver plugin
#KT-18062 Fixed
2017-08-18 19:11:25 +03:00
Yan Zhulanow
c1600c9841
Report errors from compiler plugins as compiler PLUGIN_ERRORs (KT-19311)
2017-08-02 03:35:10 +03:00
Yan Zhulanow
9a5a003d0a
NoArg: Fix IllegalAccessError on instantiating sealed class child via Java reflection (KT-18245)
2017-08-02 03:21:16 +03:00
Alexander Udalov
46a01ec131
J2K PathUtil: convert and prettify
2017-07-28 14:11:35 +03:00
Yan Zhulanow
b99007961f
NoArg: Do not invoke initializers by default. Require "invokeInitializers" option to be set explicitly (KT-18667, KT-18668)
2017-07-12 00:17:24 +03:00
Yan Zhulanow
d07fd52c43
SamWithReceiver: Add general-purpose plugin and Gradle/Maven integrations
2017-06-19 20:28:47 +03:00
Alexander Udalov
2ed027219c
Remove dependency of module 'frontend' on 'plugin-api'
...
This breaks the circular dependency between them
2017-06-06 14:29:25 +03:00
Yan Zhulanow
254e8156ac
NoArg: Initialize properties in noarg constructor (KT-16692)
2017-05-04 18:46:42 +03:00
Yan Zhulanow
21da11fe18
Fix 'kotlin-spring' and 'kotlin-noarg' Gradle plugin importing (KT-17049)
...
Allopen and Noarg plugins now use 'presets' that should be handled in the Gradle importer as well.
2017-04-05 18:13:14 +03:00
Yan Zhulanow
948207be30
AllOpen, NoArg: Use the bundled plugins in Maven projects
...
Use the bundled compiler plugins for Maven projects (as we do for Gradle projects already) because the plugin provided as a dependency in the POM file may have an incompatible version.
2017-03-22 22:02:25 +03:00
Alexey Sedunov
641a9a7153
Kotlin Facet: Get rid of duplicating data in facet configuration
2017-03-09 23:06:12 +03:00
Yan Zhulanow
1797ea62f4
NoArg: Support @Embeddable JPA annotation (KT-15946)
2017-02-08 19:01:03 +03:00
Yan Zhulanow
feb5397f6f
AllOpen, NoArg: Refactoring, support presets in order to hold special annotations for Spring and JPA in one place
2017-02-08 17:36:19 +03:00
Yan Zhulanow
cbef0250aa
Allow to turn the first parameter of a SAM-converted lambda into the receiver (KT-12848)
2016-12-09 20:01:21 +03:00
Yan Zhulanow
c705f0c437
NoArg: Add IDE integration
2016-12-09 20:01:14 +03:00
Yan Zhulanow
e626b121ad
NoArg: Add compiler plugin
2016-12-09 20:01:10 +03:00