18 Commits

Author SHA1 Message Date
Sergej Jaskiewicz c022c451a4 Adjust the code style to use trailing commas in parameter lists 2023-05-02 13:36:56 +00:00
Dmitrii Gridin 2d6fb8a99a .idea/codeStyle: fix format to avoid changes in git 2022-11-15 17:36:28 +01:00
Denis.Zharkov e6900ec0f2 Turn of LINE_BREAK_AFTER_MULTILINE_WHEN_ENTRY code style requirement 2022-10-31 11:11:01 +00:00
sebastian.sellmair 200cc9f75f [Gradle][MPP] Disabled CInteorp warning: Show cinterops instead of compilations
KT-51176
2022-02-08 09:22:15 +01:00
Ilya Chernikov ca352c9556 Fix jvm method reading when descriptor and signature do not match
#KT-38325 fixed
2021-04-12 16:23:53 +03:00
sebastian.sellmair 96352b9c8c Add (and disable) metadata compilation for single backend source sets
KotlinProjectStructureMetadata is created by inspecting source sets
with metadata compilation. Single backend common source sets are
currently not supported for metadata compilation and therefore
did not register one. Foreseeing to support this case with KT-42468,
metadata compilation is now created and registered, but just disabled.
This change will include android variants in
KotlinProjectStructureMetadata even when not officially published.
With those variants, the IDE can infer visibility from some module's
"jvmAndAndroidMain" source set to another modules "jvmAndAndroidMain"

KotlinMetadataTargetConfigurator: rename getPublishedCommonSourceSets to getCommonSourceSetsForMetadataCompilation

KotlinMetadataTargetConfigurator: isMetadataCompilationSupported and add comment to getPublishedCommonSourceSets

Re-use androidPluginIds in KotlinPlugin

KotlinAndroidTarget: Create KotlinComponents for non-published variants and mark them with publishable=false

JvmAndAndroidIntermediateSourceSetTest: add KotlinProjectStructureMetadata jvmAndAndroidMain exists in jvm variants test

AbstractAndroidProjectHandler: Add java sources only in post processing

KotlinAndroidTarget: Inline creation of usageContexts

KotlinAndroidTarget.doCreateComponents: filter non-publishable variants when publishLibraryVariantsGroupedByFlavor is enabled

#KT-42383 fixed
2020-11-10 10:21:40 +00:00
Sergey Rostov 1a82c94979 revert accidentally committed project.xml 2020-07-01 10:36:40 +03:00
Sergey Rostov a3750b6419 GradleBuildRoot: extract GradleBuildRootsLocator for testing 2020-06-17 14:30:15 +03:00
Nikolay Krasko 36933a52ec Remove code style settings irrelevant for Kotlin project 2018-07-05 16:15:36 +03:00
Nikolay Krasko cdfb813f2e Use single settings for Kotlin code style 2018-06-22 19:19:14 +03:00
Alexander Udalov 407de206a3 Minor corrections in proto schemas, mostly in comments
Also set up code style for the protobuf plugin
2018-03-14 12:25:19 +01:00
Nikolay Krasko c0aa2c5469 Lost IF_RPAREN_ON_NEW_LINE settings from Kotlin code style 2018-01-31 13:27:29 +03:00
Dmitry Jemerov 247881baf9 Apply style guide and enable reformat inspection 2017-12-29 13:51:53 +01:00
Alexander Podkhalyuzin 8203d1c3fe Extracted Kotlin.JVM IDE into separate module
This change is required to have possibility to build plugin against
minor IDEs, which don't have Java. So we want to extract idea-jvm
2017-12-21 18:34:02 +03:00
Alexander Udalov 81756150dd Update .idea/codeStyles/Project.xml for latest IDEA 2017-11-10 18:08:10 +01:00
Ilya Gorbunov 1af692c957 Code style settings format changed in IDEA 173 2017-10-30 16:46:24 +03:00
Alexey Andreev cddc8df134 Fix Scala code style options 2017-10-11 17:35:32 +03:00
Simon Ogorodnik 25f0322791 Apply code style settings migration 2017-09-20 18:00:58 +03:00