Commit Graph

55888 Commits

Author SHA1 Message Date
Vyacheslav Gerasimov bdcf674c79 Build: Remove dependency on missing task :kotlin-main-kts:dist 2019-06-27 18:33:51 +03:00
Sergey Rostov 59411e1a28 Build: flags for comparing gradle and jps 2019-06-27 17:56:52 +03:00
Sergey Rostov f35680e823 Build: cleanup stdlib/jps-build/build.gradle.kts 2019-06-27 17:56:52 +03:00
Sergey Rostov 6647d8fd93 Build: remove mergeServiceFiles from reflectShadowJar 2019-06-27 17:56:52 +03:00
Vyacheslav Gerasimov 2d6a3cb2c8 Build: Introduce flag for disabling jar post processing
proguard, relocation, etc.
2019-06-27 17:56:52 +03:00
Vyacheslav Gerasimov 6e20e03cbc Build: Reuse archive from project build logic for building jars 2019-06-27 17:56:52 +03:00
Vyacheslav Gerasimov ec157a43ba Build: Add jar-resources directory to kotlin-main-kts 2019-06-27 17:56:52 +03:00
Vyacheslav Gerasimov 22bbbeb1ec Build: Fix manifest for kotlin-compiler in jps build
Trigger manifest generation from jar task during jps import
2019-06-27 17:56:51 +03:00
Vyacheslav Gerasimov fc68bb46dc Build: Move compiler.xml extensions to cli-common 2019-06-27 17:56:51 +03:00
Vyacheslav Gerasimov e49cd527bc Build: Remove version from libraries copied to lib of ide plugin 2019-06-27 17:56:51 +03:00
Vyacheslav Gerasimov 373a250b28 Build: Exclude common stdlib only from dist/lib contents configurations 2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov e7ba9e5e4e Build: Fix kotlin-daemon-client-new compile classpath for jps build 2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov 0e7de4df41 Build: Fix embedded configuration import in jps build
Should affect only test configurations
2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov ca37cb0028 Build: Remove jps hacks from kotlin-main-kts-test 2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov 7864c40bb1 Build: Force child projects evaluation while importing jps 2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov 947783833f Minor: Cleanup jps.gradle.kts 2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov 286b9f5233 Build: Add jps artifact for kotlinc 2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov c76138c55c Build: Drop obsolete jps artifact generation 2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov db8a4a52da Build: Add JPS artifact for kotlin-compiler.jar
JPS build assumes fat jar is built from embedded configuration,
but we can't use it in gradle build in :prepare:compiler project
since slightly more complex processing is required like stripping
metadata & services from some jars
2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov 64f2298703 Build: Extract jarContentsFromConfiguration dsl helper 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 31c3955940 Build: Add workaround dist root artifact referencing auto-generated dist
We can't set output-path and build-on-make from idea-ext plugin
2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 72be81ba46 Build: Add JPS artifact for dist 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 86ad25ba55 Build: Add jps artifact for kotlin-reflect 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 3138757d66 Build: Add jps artifact for kotlin-compiler-client-embeddable 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 7149fc75f5 Build: Add jps artifact for kotlin-main-kts 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 1f795882c4 Build: Extract kotlin-plugin.jar to separate jps artifact 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 5c72fed918 Build: Add jps artifact for kotlin-imports-compiler-dumper 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 9b7a5e87d1 Build: Include project main source set output in jar 2019-06-27 17:56:48 +03:00
Vyacheslav Gerasimov d24c56e08d Build: Add jps artifact for kotlin-daemon-client.jar 2019-06-27 17:56:48 +03:00
Vyacheslav Gerasimov 12b4cf3f0e Build: Add jps artifact for kotlin-jps-plugin.jar 2019-06-27 17:56:48 +03:00
Vyacheslav Gerasimov 55b1ee9a17 Build: Fix premature configuration resolution in kotlin-test-js-it 2019-06-27 17:56:48 +03:00
Vyacheslav Gerasimov db3b01d2d4 Build: Centralize compiler dist build logic in :kotlin-compiler project 2019-06-27 17:56:48 +03:00
Vyacheslav Gerasimov 62126d0e43 Build: Fix idea plugin dependencies for JPS build
we interpret embedded configuration as runtime in JPS and need to exclude embedded jars while copying libs
2019-06-27 17:56:48 +03:00
Vyacheslav Gerasimov 12ba0efd19 Build: Use embedded configuration in kotlin-compiler-client-embeddable 2019-06-27 17:56:48 +03:00
Vyacheslav Gerasimov 6cf5514f6e Build: Fix jps import for jvm-abi-gen plugin 2019-06-27 17:56:47 +03:00
Vyacheslav Gerasimov 4f090f2744 Build: Use default jar task in kotlin-daemon-client 2019-06-27 17:56:47 +03:00
Vyacheslav Gerasimov a10a261894 Build: Workaround wrong import of transitive libraries in Idea 2019-06-27 17:56:47 +03:00
Vyacheslav Gerasimov bbfa2646fd Minor: Cleanup :prepare:compiler build script 2019-06-27 17:56:47 +03:00
Alexander Udalov 3800d57691 Fix behavior of multiple methods in IrTypeSystemContext
Make sure implementations are the same as in ClassicTypeSystemContext
and ConeTypeSystemContext
2019-06-27 16:43:07 +02:00
Alexander Udalov 445c4ebe65 Do not inherit IrTypeSystemContext from TypeSystemInferenceExtensionContext
This inheritance was not used. Moreover, multiple methods were
implemented incorrectly and/or inconsistently with the base
implementation at ClassicTypeSystemContext
2019-06-27 16:43:07 +02:00
Alexander Udalov cf6ff8c6b3 Simplify implementation of TypeSystemCommonSuperTypesContext.typeDepth 2019-06-27 16:43:07 +02:00
Alexander Udalov 331f0291ce Minor, remove TypeSystemContext.isNotNullNothing
Use equivalent isNothing instead
2019-06-27 16:43:07 +02:00
Alexander Udalov c452934f5b Pull isNullableType and related extensions up into TypeSystemContext 2019-06-27 16:43:07 +02:00
Alexander Udalov 9131ff3626 Move IrType.isNullable to 'ir.tree' 2019-06-27 16:43:06 +02:00
Alexander Udalov 29a144cee7 Minor, move IrClass.primaryConstructor to 'ir.tree' 2019-06-27 16:43:06 +02:00
Ilmir Usmanov 0a37cb561b Minor. Regenerate IrBlackBoxInlineCodegenTestGenerated 2019-06-27 17:02:22 +03:00
Nikolay Krasko 78aaf62734 Disable internal plugin bunch check if separate plugin is installed 2019-06-27 16:03:39 +03:00
Igor Yakovlev a1462407f9 Avoid to change singleton test project descriptor
#KT-32276
2019-06-27 16:01:50 +03:00
Leonid Startsev a3218da1c3 Add IDE diagnostic on @Serializable classes for non-applied serialization plugin 2019-06-27 15:55:38 +03:00
Toshiaki Kameyama fb94cb141f Add "Add constructor parameter" quick fix for NO_VALUE_FOR_PARAMETER
#KT-27353 Fixed
2019-06-27 19:19:25 +07:00