Vyacheslav Gerasimov
4076923a26
as34: Apply changes from AS 3.3
2018-10-26 18:25:20 +03:00
Nikolay Krasko
17421ed14d
191: asm-all has 7.0-beta version in Intellij 191
...
Pass project to fetch extra parameters for asm-all work
2018-10-19 19:16:21 +03:00
Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Yan Zhulanow
a434cb00c6
Do not retain proxy-based components for compiler plugin settings in project model (again) (KT-24444)
...
The previous approach didn't work because Gradle wraps the copy() result, and the leakage didn't go away.
2018-09-06 14:42:20 +03:00
Vyacheslav Gerasimov
b868450e9a
Make dependencies on :kotlin-compiler project testRuntimeOnly everywhere
2018-09-05 22:58:31 +03:00
Yan Zhulanow
43f5971863
Remove unneeded 'idea-full' dependency from compiler plugin test runtime classpath
2018-08-24 04:28:08 +05:00
Yan Zhulanow
54470fe2b7
Pill: Remove source dependencies to 'tests-common'
...
'tests-common' module does only have a test source set so the dependency is redundant.
2018-08-07 11:55:23 +03:00
Vyacheslav Gerasimov
8fc0c1d7b0
as33: Add AS 3.3 bunchset built with AS 3.3 C4
2018-08-02 20:53:17 +03:00
Yan Zhulanow
20cb4e91b3
Do not retain proxy-based components for compiler plugin settings in project model
2018-05-16 17:04:03 +03:00
Zalim Bashorov
ab03ab84bb
Regenerate tests
2018-04-19 13:17:27 +03:00
Vyacheslav Gerasimov
4299455dc1
as32: Update to AS 3.2 C10
2018-04-13 21:33:03 +03:00
Yan Zhulanow
bb4b1f5b9c
as31: Remove Maven components from all-open and no-arg plugins
2018-04-11 16:28:13 +03:00
Vyacheslav Gerasimov
7c02d55b23
Remove explicit jar specification from ide modules build scripts
...
They often change between ide versions and difficult to maintain
2018-04-09 21:47:48 +03:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Zalim Bashorov
9970dd051f
Fix copyright's start year in generated tests
2018-03-14 15:04:58 +03:00
Yan Zhulanow
07ede20dc5
Pill: Import KotlinPlugin artifact
2018-03-02 03:15:28 +03:00
Yan Zhulanow
a0c105adbe
Fixes to make the project compile when using Pill
2018-03-02 03:15:19 +03:00
Yan Zhulanow
34d1611ed4
Add Pill support to compiler and IDE modules
2018-03-02 03:15:17 +03:00
Yan Zhulanow
dfc007ebd3
Use thread-safe WeakHashMap implementation in annotation-based IDE plugins (#KT-22514)
2018-02-20 23:19:35 +03:00
Alexander Udalov
ac5444ef7c
Add declaresOrInheritsDefaultValue, move hasDefaultValue to 'resolution'
...
'hasDefaultValue' needs to be adapted to support locating default values
in 'expect' functions, and this is not possible in module 'descriptors',
where it was originally declared. Therefore, move it to module
'resolution' and copy its current logic to a separate function
'declaresOrInheritsDefaultValue' which is used in 5 places.
'hasDefaultValue' itself is updated in subsequent commits.
Besides changing imports, also use a simpler declaresDefaultValue in
some places, which does not include default values inherited from
supertypes: this is OK for constructors, and in LazyJavaClassMemberScope
for functions from built-ins which do not have default argument values
at all
2018-02-05 13:38:04 +01:00
Vyacheslav Gerasimov
68b5dc756c
Remove intellij-core from testRuntime if full idea is already there
...
Looks like it makes tests flacky
2018-01-30 17:06:18 +03:00
Vyacheslav Gerasimov
89a07ded1c
Extract versions and remove unnecessary '.jar' extensions
2018-01-30 17:06:18 +03:00
Dmitry Jemerov
e83845ea72
Build changes to support Android Studio
2018-01-30 17:06:16 +03:00
Ilya Chernikov
5dc094d290
Implement correct and fast ultimate/community sdks handling
2018-01-30 17:06:15 +03:00
Ilya Chernikov
6f1e6f1f1b
Fix tests after rebasing and messing with the dependencies
2018-01-30 17:06:15 +03:00
Ilya Chernikov
2dc4769c0a
Fixes after rebase
2018-01-30 17:06:15 +03:00
Ilya Chernikov
7e21573cf4
Convert the rest of the project to intellij repo prepared in buildSrc
2018-01-30 17:06:13 +03:00
Ilya Chernikov
a4f28cd94f
Make all dependencies to idea sdk intransitive
2018-01-30 17:06:11 +03:00
Ilya Chernikov
0d264793ce
Convert idea plugin modules to intellij plugin
2018-01-30 17:06:07 +03:00
Alexander Udalov
8cd7686535
Introduce DeclarationCheckerContext, remove SimpleDeclarationChecker
2018-01-29 12:22:40 +01:00
Yan Zhulanow
81aae03b57
Use Gradle API to import annotations from compiler plugins instead of nasty data storage tasks
...
Tasks itself will be left for some time until all users migrate to the newer IDE plugin versions.
2018-01-15 12:39:31 +09:00
Yan Zhulanow
c66947ba40
NoArg: Parse 'invokeInitializers' option in Maven importer (KT-19900)
2018-01-15 12:39:27 +09:00
Yan Zhulanow
3512675d96
Compiler plugins: Refactor Maven import handlers in order to support other plugin options
2018-01-15 12:39:26 +09:00
Alexey Sedunov
253c5f2d9b
Gradle: Compile Gradle models/model builders for plugins under JVM 1.6
...
This prevents imports failure in projects using older versions of Gradle
2018-01-10 16:24:27 +03:00
Dmitry Jemerov
e80dae1802
Update copyright in generated tests
2018-01-10 11:55:28 +01:00
Alexey Tsvetkov
fec2d08d22
Compile actual and expected declarations together
...
#KT-20840 fixed
2017-12-22 16:12:19 +03:00
Yan Zhulanow
187182e46f
Noarg, Minor: Include IDEA 'testRuntime' dependency as in other compiler plugins
2017-12-15 02:35:16 +09:00
Yan Zhulanow
eccc3447f6
Infrastructure: move compiler plugin tests back to their modules
2017-12-01 22:53:14 +09:00
Ilya Chernikov
d61695be55
Fix embeddable compiler dependencies, fix dist task, use runtimeJar...
...
dependencies where appropriate, some helpers refactoring
2017-09-20 11:52:00 +02:00
Ilya Chernikov
d039d191f2
Fix tests in the new build infrastructure
2017-09-19 23:58:30 +02:00
Alexander Podkhalyuzin
3f8170d369
Clean idea files generated on the gradle import, add them to .gitignore
2017-09-19 23:58:27 +02:00
Ilya Chernikov
3e46c59187
Clean unused dependencies, minor refactorings
2017-09-19 21:37:27 +02:00
Ilya Chernikov
deda50dbbb
Continue switching projects to improved dsl: sourceSets and test running
2017-09-19 21:37:26 +02:00
Ilya Chernikov
e18b77af21
Refactor compiler-related published projects
...
- move preparation into separate projects
- rename projects for publishing
- add compiler plugins
2017-09-19 21:37:14 +02:00
Ilya Chernikov
61dfb75e0e
Implement Gradle Kotlin DSL build
2017-09-19 21:37:06 +02:00
Yan Zhulanow
f84df6381e
NoArg: Support @MappedSuperclass JPA annotation (KT-19692)
2017-09-12 22:07:16 +03:00
Yan Zhulanow
187ca71dc6
NoArg: Fix compatibility with sealed classes with non-zero-parameter constructors (KT-19687)
...
Also check if a class has a sealed super class properly.
2017-09-06 17:40:20 +03:00
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