Konstantin Tskhovrebov
b894b7df6e
Add integration tests for "assembleAppleFrameworkForXcode" and "embedAndSignAppleFrameworkForXcode" tasks.
2021-04-23 19:23:58 +03:00
Konstantin Tskhovrebov
c8ef0715b9
Register "assembleAppleFrameworkForXcode" and "embedAndSignAppleFrameworkForXcode" tasks when gradle is run from Xcode.
...
#KT-27240
2021-04-23 19:23:57 +03:00
Alexander Udalov
0c3f2eefe0
Migrate bytecodeListing tests to new test infrastructure
2021-04-23 17:58:16 +02:00
Alexander Udalov
7e170770ea
Minor, move around bytecode listing tests
2021-04-23 17:58:16 +02:00
sebastian.sellmair
28690b7f32
KotlinToolRunner: Add "java.system.class.loader" to execSystemPropertiesBlacklist
...
IDE integration tests will forward an unvailable intellij classloader
which will fail the execution.
2021-04-23 14:34:17 +00:00
sebastian.sellmair
7b8926f85b
[Commonizer] Allow propagation of leaf targets
...
^KT-46248 Verification Pending
2021-04-23 14:34:17 +00:00
sebastian.sellmair
7c1520a424
[Commonizer] Implement SingleTargetPropagationTest to cover KT-46248
...
^KT-46248
2021-04-23 14:34:16 +00:00
sebastian.sellmair
965e328766
CommonizerIT: implement test KT-46248 single supported native target dependency propagation to cover KT-46248
...
^KT-46248
2021-04-23 14:34:15 +00:00
Mikhail Glukhikh
683872ecbf
FIR: use more precise checkers when possible
2021-04-23 17:29:43 +03:00
Mikhail Glukhikh
5c224ad17c
FIR: fix positioning in fun interface checker
2021-04-23 17:29:34 +03:00
Артём
393a19db54
FIR: introduce FunInterfaceDeclarationChecker
2021-04-23 17:29:25 +03:00
Victor Petukhov
867d7b5bca
Allow type variable fixation into intersection type if it isn't meaningless (i.e. has one or more final classes, or two or more open classes)
...
^KT-46186 Fixed
2021-04-23 15:12:13 +03:00
Victor Petukhov
310d98c4f7
Don't require existence of the corresponding type argument during computing target type to apply type use annotation loaded from class file
...
^KT-46131 Fixed
2021-04-23 15:12:12 +03:00
sebastian.sellmair
13b1664edf
CommonizerIT: Implement additional test KT-46142 standalone native source set
...
^46142
Before this test, the behaviour was tested as integration test in the IDE.
This Gradle integration test will detect issues even earlier.
2021-04-23 15:02:15 +03:00
Konstantin Tskhovrebov
ee4a1d173d
Revert "Add integration tests for "assembleAppleFrameworkForXcode" and "embedAndSignAppleFrameworkForXcode" tasks."
...
This reverts commit 6db3960d
2021-04-23 12:11:42 +03:00
Konstantin Tskhovrebov
8840a9ecd1
Revert "Register "assembleAppleFrameworkForXcode" and "embedAndSignAppleFrameworkForXcode" tasks when gradle is run from Xcode."
...
This reverts commit c2cdf9c7
2021-04-23 12:11:19 +03:00
Ilmir Usmanov
f7a9bc3521
Minor. Make test actually suspend and add a test without suspension
2021-04-23 03:50:08 +02:00
pyos
23ffbe4d9e
JVM_IR: do not box inline classes in suspend multifile bridges
2021-04-23 03:49:47 +02:00
pyos
7d95943b8b
JVM_IR: do not box inline classes in suspend synthetic accessors
2021-04-23 03:49:43 +02:00
Alexander Likhachev
857bee6ced
[Build] Remove empty source directories warning
...
There're should be no more cache misses on empty directories with Gradle 6.8. See https://docs.gradle.org/6.8/release-notes.html#more-cache-hits-when-empty-directories-are-present
2021-04-23 03:52:45 +03:00
Alexander Likhachev
03f9d78eb3
[Build] Add workaround to make local publishing serializable
...
Also signing plugin now being applied only when signing is required.
#KT-44611 In Progress
2021-04-23 03:52:41 +03:00
Sergey Igushkin
4e6c483ccc
Add a final override for project in KotlinGradleFragmentInternal
2021-04-23 00:43:14 +03:00
Sergey Igushkin
bb35d9271f
Minor fix: don't use lazy in KotlinPm20ProjectExtension.modules
2021-04-23 00:43:14 +03:00
Sergey Igushkin
53f02a53f0
Add caching to dependency resolvers in PM20 + some refactoring
2021-04-23 00:43:13 +03:00
Sergey Igushkin
1f0089c5de
Refactor the dependency graph resolver to be more readable
2021-04-23 00:43:13 +03:00
Sergey Igushkin
d07c76fca4
Add kotlin-project-model artifacts to the set of trusted artifacts
2021-04-23 00:43:12 +03:00
Sergey Igushkin
6be33448d6
Rework adding sources to FilteringSourceRootsContainer in JVM tasks
...
Support adding lazily-evaluated file collections (i.e. tracking their
source roots lazily, as opposed to eagerly evaluating the source roots.
2021-04-23 00:43:12 +03:00
Sergey Igushkin
e59a57d11c
Add ":kotlin-project-model" to the list of modules installed for tests
2021-04-23 00:43:11 +03:00
Sergey Igushkin
e7b81c52a7
Get rid of DependencyDiscovery in favor of DependencyGraphResolver
2021-04-23 00:43:11 +03:00
Sergey Igushkin
d602470027
Fix compilation of the tests in kotlin-project-model
2021-04-23 00:43:10 +03:00
Sergey Igushkin
fe351f26ef
For now, publish the sources elements variant with usage=kotlin-sources
2021-04-23 00:43:10 +03:00
Sergey Igushkin
a94597d85a
Experimental sources publication in the PM2.0 prototype
2021-04-23 00:43:10 +03:00
Sergey Igushkin
44fcd7e891
Use KotlinCompilationTaskConfigurator for metadata compilation tasks
2021-04-23 00:43:09 +03:00
Sergey Igushkin
4cb6303fa8
Get rid of kotlinPluginVersion in the constructors throughout the plugin
...
We passed the kotlinPluginVersion which was only used for a single
purpose in countless constructors.
In fact, the plugin version is easy to load at the call site, as it gets
loaded from the plugin's resources.
So rework the plugin version loading code so that it doesn't rely on the
applied plugin, and don't pass the plugin version in all those
constructors.
2021-04-23 00:43:09 +03:00
Sergey Igushkin
2a5d511b66
Minor fix: handle kotlinOptions more carefully, store them where needed
2021-04-23 00:43:08 +03:00
Sergey Igushkin
00e5e462ea
Further refactor compile task configuration: extract the configurator
2021-04-23 00:43:08 +03:00
Anton Lakotka
1a85da5ff8
Make language settings nullable in KotlinModuleFragment
...
There is no lang settings when importing from klibs (yet)
2021-04-23 00:43:07 +03:00
Anton Lakotka
c3264a2979
Add language consistency checks for fragments
...
Migrate exiting consistency checker for source sets to be generic
and reuse it for fragments
2021-04-23 00:43:07 +03:00
Anton Lakotka
de4221afd8
Add immutable LanguageSettings interface and apply it to compilation
...
LanguageSettingsBuilder extends LanguageSettings
2021-04-23 00:43:06 +03:00
Sergey Igushkin
54c6ae2cce
(minor) Rename modelClasses.kt -> KotlinJvmVariantFactory.kt
2021-04-23 00:43:06 +03:00
Sergey Igushkin
3be2734c63
Refactor the setup of compilation in the PM20 implementation prototype
2021-04-23 00:43:05 +03:00
Sergey Igushkin
c1fe0d7158
Add publishing configurator, call it from the variant factories
2021-04-23 00:43:05 +03:00
Sergey Igushkin
1271fabffa
Fix Maven scope mapping for the runtime dependencies in PM20 publishing
2021-04-23 00:43:04 +03:00
Sergey Igushkin
27015a657c
Don't pass the IDE paths to the extracted klibs that don't exist
2021-04-23 00:43:04 +03:00
Sergey Igushkin
470103bfac
Don't rely on the current project in dep-resolution if module is given
2021-04-23 00:43:04 +03:00
Sergey Igushkin
f029179fe0
Add basic support for Kotlin/Native variants to the PM20 Gradle plugin
2021-04-23 00:43:00 +03:00
Sergey Igushkin
401fbae8d8
Handle dependency module IDs more carefully in dependency resolution
2021-04-23 00:42:37 +03:00
Sergey Igushkin
ea458e6848
Add some API interfaces for Gradle PM20 entities in the API module
2021-04-23 00:42:37 +03:00
Sergey Igushkin
a52c6858a9
Minor fixes in exposed configurations
2021-04-23 00:42:37 +03:00
Sergey Igushkin
134fb7741e
Fix getChosenVariant implementation for project(...) dependencies
2021-04-23 00:42:36 +03:00