Svyatoslav Kuzmich
d14d4c8510
[Wasm] Support JsModule and JsQualifier
2023-01-13 21:58:34 +00:00
Yahor Berdnikau
a7cb58418b
Bump max AGP version in tests to 7.4.0
2023-01-13 20:38:17 +00:00
Alexander.Likhachev
25fb641da7
[Gradle, MPP] Slightly rework testAndroidMultiplatformPublicationAGPCompatibility
...
Each AGP version has its own compatible Gradle versions range. This commit adds additional version requirements for tests to respect AGP limitations
#KT-52998 In Progress
2023-01-13 16:28:00 +00:00
Alexander.Likhachev
16bf37b3f5
[Gradle, MPP] Add Gradle version requirements for AGP tests with version limits
...
Each AGP version has its own compatible Gradle versions range. This commit adds additional version requirements for tests to respect AGP limitations
#KT-52998 In Progress
2023-01-13 16:27:59 +00:00
Alexander.Likhachev
0574421117
[Gradle] Fix KotlinSpecificDependenciesIT.testRemoveKotlinTestDependency
...
It looks like we are doing hacky things in the test, but perhaps that's fine for test code
#KT-52998 In Progress
2023-01-13 16:27:59 +00:00
Alexander.Likhachev
e7fb07ff15
[Gradle, MPP] Adapt tests to the 7.5+ dependencyInsight task output format
...
#KT-52998 In Progress
2023-01-13 16:27:58 +00:00
Alexander.Likhachev
1e102d3e00
[Gradle, MPP] Suppress deprecation warnings for old AGP in AndroidAndJavaConsumeMppLibIT
...
There are deprecation warnings coming from AGP which have fixed since 7.3.0
#KT-52998 In Progress
2023-01-13 16:27:58 +00:00
Yahor Berdnikau
822c12c892
Bump max Gradle version to 7.5.1 in integration tests
...
#KT-52998 In Progress
2023-01-13 16:27:58 +00:00
Yahor Berdnikau
f90b447c7f
Add task to generate Kotlinlang reference
...
Based on the template from
https://github.com/JetBrains/kotlin-web-site/tree/master/dokka-templates .
Template itself is updated frequently and should be added by CI
configuration.
Generated reference has versioning support. Older generated references
should put into:
<project_dir>/<build_dir>/dokka/kotlinlangDocumentationOld
^KT-55520 Fixed
2023-01-13 16:16:09 +00:00
Yahor Berdnikau
d3ecb9a75f
Allow to reference Gradle API javadoc in generated documentation
...
^KT-55520 In Progress
2023-01-13 16:16:09 +00:00
Yahor Berdnikau
4de60879f0
Explicitly enable Dokka javadocs generation
...
Actually we don't need javadoc generation for our internal stuff like
':kotlin-gradle-plugin'. But ':kotlin-gradle-plugin-api' is a public api
and should have properly generated javadocs.
^KT-55520 In Progress
2023-01-13 16:16:08 +00:00
Pavel Kirpichenkov
40f7360694
[cinterop] Deprecate CInteropSettings#getDependencyConfigurationName
...
KT-55908
KT-54974
2023-01-13 14:24:18 +00:00
Pavel Kirpichenkov
1d68012668
[MPP] CInterop import improvements
...
- Make cinterop header non-empty in a related test
- Remove ios target from the test to fix CI runs on linux hosts
- Use build dir repository instead of mavenLocal in the test
- Assert cinterop files from published projects
- Some minor refactorings
KT-54975
2023-01-13 14:24:17 +00:00
Pavel Kirpichenkov
9f15cc11a7
[MPP] Fix import of cinterops for non-leaf single target source sets
...
KT-54975
2023-01-13 14:24:17 +00:00
Pavel Kirpichenkov
7bae2303aa
[MPP] Support import of project-to-project cinterop dependencies
...
KT-54975
2023-01-13 14:24:17 +00:00
Pavel Kirpichenkov
424d1e23fc
[MPP] Improve displayed names for cinterop dependencies in import
...
KT-54974
2023-01-13 14:24:16 +00:00
Pavel Kirpichenkov
1c79e5a71a
Don't create individual Gradle configurations for every cinterop
...
Common configuration serves two purposes:
* Dependencies are the same for all cinterops of a single compilation
and can therefore be resolved only once in the single configuration
* Compilations without cinterops should be able to receive cinterop
dependencies from other projects, the updated configuration can be used
for that
KT-54975
2023-01-13 14:24:16 +00:00
Pavel Kirpichenkov
0e195b3ad0
[MPP] Simplify test
...
KT-54975
2023-01-13 14:24:15 +00:00
Pavel Kirpichenkov
7308583388
[MPP] Fix propagation of cinterops from associate compilations and leafs
...
KT-54975
2023-01-13 14:24:15 +00:00
Pavel Kirpichenkov
8a83870306
[MPP] Declare import resolver dependencies on tasks
...
KT-54975
2023-01-13 14:24:15 +00:00
Pavel Kirpichenkov
8bdd9b3837
[MPP] Add IT for cinterop commonization
...
KT-54975
2023-01-13 14:24:14 +00:00
Pavel Kirpichenkov
7e2a7579e8
[MPP] Initial support for cinterop import with KGP resolvers
...
KT-54975
2023-01-13 14:24:14 +00:00
Sebastian Sellmair
ef1e4662f1
[Gradle] Remove unnecessary sourcesElementsPublishedConfiguration from external target API
2023-01-13 08:59:51 +00:00
Artem Daugel-Dauge
1216c39865
Supress Gradle warnings for some macos tests as a workaround for KT-55751
...
Merge-request: KT-MR-8277
Merged-by: Artem Daugel-Dauge <Artem.Daugel-Dauge@jetbrains.com >
2023-01-12 19:47:21 +00:00
Nicklas Ansman Giertz
22ab43838b
KAPT: Skip importing java.lang.System in the stubs
...
This fixes KT-43117
2023-01-12 18:01:10 +01:00
Denis.Zharkov
b009ee3744
Add @SinceKotlin and KDoc for ContextFunctionTypeParams
...
Initially, it was added accidentally as part of e3f987459c
and missed all out processes.
Adding @SinceKotlin("1.7") after the annotation has already been
published before is not really a problem, because it only may be used
with an experimental `-Xcontext-receivers` flag, thus it doesn't have
to be a part of our regular backward compatibility routine.
^KT-55226 Fixed
2023-01-12 16:53:48 +00:00
Pavel Kirpichenkov
609f417a13
Don't add Android compileOnly dependencies from associated compilations
...
KT-55697
2023-01-12 13:43:31 +00:00
Pavel Kirpichenkov
7fbd6b6452
Add test for compileOnly dependencies in Android
...
KT-55697
2023-01-12 13:43:31 +00:00
Yahor Berdnikau
37f3b7e816
Limit test versions in KotlinAndroidMppIT.testAndroidWithNewMppApp
...
Due to https://youtrack.jetbrains.com/issue/KT-51940/HMPP-resolves-configurations-during-configuration
2023-01-12 09:49:34 +00:00
Yahor Berdnikau
e29bfffb6a
Set max supported AGP version to 7.3
2023-01-12 09:49:34 +00:00
Yahor Berdnikau
cd6f57eb86
Add AGP 8.0 to test versions
2023-01-12 09:49:33 +00:00
Yahor Berdnikau
90366dc914
Bump Kotlin stable version in tests to 1.6.21
2023-01-12 09:49:33 +00:00
Yahor Berdnikau
fde17e60d3
Bump Gradle 8 version in tests to 8.0-rc1
2023-01-12 09:49:33 +00:00
Stanislav Erokhin
6f5ffeb6bb
[Gradle][MPP] Fix test after K/N targets deprecation
2023-01-11 17:52:29 +00:00
Stanislav Erokhin
dd95256b24
[Gradle][MPP] Add console warning about deprecated K/N targets
2023-01-11 17:52:28 +00:00
Stanislav Erokhin
37ab139139
[Gradle][MPP] Deprecate several K/N targets
2023-01-11 17:52:28 +00:00
Alexander.Likhachev
32b98135a9
[Gradle] Remove redundant thread-safety in BuildStatisticsWithKtorIT
2023-01-11 14:19:34 +00:00
Alexander.Likhachev
25004a4842
[Gradle] Fix failures in reporting were saved effectively statically
2023-01-11 14:19:34 +00:00
Alexander.Likhachev
3f3d6fc74e
[Gradle] Remove unused http reporting code
2023-01-11 14:19:33 +00:00
Alexander.Likhachev
5fd17fb233
[Gradle] Try to adjust port finding logic to fix tests flakiness
2023-01-11 14:19:33 +00:00
Alexander.Likhachev
bef34e9cbf
[Gradle] Add test for KT-55323
2023-01-11 14:19:33 +00:00
Alexander.Likhachev
ded0bb760f
[Gradle] Await for ktor initialization in BuildStatisticsWithKtorIT
2023-01-11 14:19:32 +00:00
Alexander.Likhachev
4f9adf894a
[Gradle] Add ability to opt-out from reporting compiler arguments
...
#KT-55323 Fixed
2023-01-11 14:19:32 +00:00
Igor Chevdar
ebaa09a710
[K/N][gradle] Fixed some gradle integration tests
2023-01-11 14:13:05 +00:00
Igor Chevdar
84d9afafd2
[gradle] Gradle property to switch between caching orchestration machineries
...
This is needed only for the translation period between old (Gradle) machinery
and the one (implemented directly in the K/N compiler)
2023-01-11 14:13:05 +00:00
Igor Chevdar
73e10b17c6
[K/N][gradle] Set klib version from gradle
2023-01-11 14:13:02 +00:00
Ilya Goncharov
816971ed47
[JS] Use correct source for stdlib jar, because of lazy java source sets
...
^KT-55862 fixed
2023-01-11 13:35:02 +00:00
Anton Lakotka
6d3812c259
[Gradle] remove unused imports
2023-01-11 12:33:00 +00:00
Anton Lakotka
6f12fbe220
[Gradle] Keep adding dependencies to implementationMetadataConfigurationName
...
when IntransitiveMetadataConfiguration is disabled
2023-01-11 12:33:00 +00:00
Anton Lakotka
c3274b61ee
[Gradle] rename projectIdOrNull to currentBuildProjectIdOrNull for clarity
2023-01-11 12:33:00 +00:00