Paŭlo Ebermann
418c530820
docs: mod/rem: clarify who is dividend and divisor
2022-09-30 15:41:55 +03:00
konstantin.tskhovrebov
dffdc26208
Fix gradle configuration cache in KotlinNativeLinkArtifactTask.
2022-09-30 09:54:36 +00:00
konstantin.tskhovrebov
c83286ef7e
Set Xcode test device ID only if Xcode is available.
2022-09-30 09:54:35 +00:00
konstantin.tskhovrebov
0ffb370579
Make Xcode utils public for gradle integration tests.
2022-09-30 09:54:35 +00:00
konstantin.tskhovrebov
239a1a4bab
Make Xcode utils nullable for non Apple hosts.
2022-09-30 09:54:35 +00:00
konstantin.tskhovrebov
321e436132
Make KotlinNativeLinkArtifactTask configuration lazy with gradle properties.
...
It is needed for lazy configuration the 'embedBitcode' mode for example.
Because it requires Xcode invocation.
2022-09-30 09:54:34 +00:00
konstantin.tskhovrebov
7ca5750255
Make 'Framework.embedBitcodeMode' lazy provider.
2022-09-30 09:54:34 +00:00
konstantin.tskhovrebov
8c2b2eb278
Make 'KotlinNativeSimulatorTest.device' lazy property
2022-09-30 09:54:34 +00:00
konstantin.tskhovrebov
10947e2c45
Change a hardcoded Xcode test device to getting from the device list.
2022-09-30 09:54:33 +00:00
konstantin.tskhovrebov
afa8a577cc
[KT-54060] Disable bitcode embedding to frameworks for Xcode >= 14.
2022-09-30 09:54:33 +00:00
Ilya Goncharov
c726360ad2
Change policy with legacy compiler backend
...
[JS] Remove incremental js jps test
[JS] Remove test of maven js archetype
[JS] Fix another one test
[JS] Fix tests for jps
[JS] Try to fix maven test data
[JS] Fix test data
[JS] Fix test data for ant
[JS] Fix jsExtraHelp test
[JS] Fix test run from not-Gradle build tools
[JS] Set flag without compiler error
[JS] Disable warnings and errors in legacy compiler called from Gradle
[JS] Proofread messages
[JS] Not proofread messages
KT-42326
2022-09-29 13:56:30 +00:00
Alexander Likhachev
a3ad0a6e88
[Gradle, K/N] Fix deprecation message for endorsed libraries
...
#KT-54177
2022-09-29 13:37:11 +02:00
konstantin.tskhovrebov
5ca9d3d706
[KT-53191] Fix header dirs inputs for CInteropProcess task.
2022-09-29 07:19:45 +00:00
Nikolay Krasko
8517249776
Update plexus-component-metadata plugin 1.7.1 -> 2.1.0
...
There's an unstable order of components in plexus/components.xml
KTI-729
2022-09-28 15:26:41 +00:00
Yahor Berdnikau
1967c49914
Fix wrong jitpack.io repository url in test project
2022-09-28 14:34:54 +02:00
Alexander Likhachev
daf14d0931
[Gradle, K/N] Deprecate endorsed libraries
...
#KT-54177 Fixed
2022-09-28 10:23:12 +00:00
Yahor Berdnikau
5924a80ec8
Use Task.doNotTrackState api
...
This api is faster replacement for 'task.outputs.upToDateWhen { false }'
approach.
^KT-52624 Fixed
2022-09-28 09:07:27 +00:00
Yahor Berdnikau
037f41526f
Run Gradle integration tests against Gradle 7.3.3
...
^KT-52624 In Progress
2022-09-28 09:07:27 +00:00
Sebastian Sellmair
05700e09f4
[Gradle] Fix CInteropCommonizerTask.CInteropCommonizerDependencies.dependencies resolving to early
...
^KT-54202 Verification Pending
2022-09-27 20:21:31 +00:00
Yahor Berdnikau
c198d4d90d
Simplify cache-redirector script apply method
...
Now it could be only be applied inside settings file pluginManagement
block. This will update both settings repositories and all projects in
the repo with cache redirection settings.
2022-09-27 14:04:43 +00:00
Nikolay Krasko
8af5ade2f4
Fix regular expressions in testHostSpecificSourceSetsInTransitiveDependencies
...
Test is now flaky because sometimes the expected names has checksum with
the `-` char.
`published-dependency-1.0-commonMain-Q-PvLQ.klib`
2022-09-27 13:15:05 +00:00
Nikolay Krasko
54c7efe1cb
Refactorings for toolchains
2022-09-27 12:49:55 +00:00
Nikolay Krasko
7da7c4e0bb
Distinguishable output and failure reports for gradle integrations tests
2022-09-26 12:48:28 +00:00
Nicklas Ansman Giertz
1cc46ab7fa
KAPT: allow setting aptMode in the maven plugin
...
This fixes KT-41129
2022-09-26 12:20:33 +02:00
Sebastian Sellmair
2845929bc0
[Gradle][MPP] Add documentation to CompositeMetadataArtifactContent
...
^KT-54135 Verification Pending
2022-09-26 08:18:19 +00:00
Yahor Berdnikau
309c57f860
Update Gradle plugins common Gradle API version to 7.5
...
^KT-54142 Fixed
2022-09-23 15:36:53 +00:00
Pavel Kargashinsky
221043a74d
kargashinsky/mute-unresolved-target-tests-mac
...
[Gradle][Tests] Fix CommonNativeIT testData
[Gradle][Tests] Mute 2 native tests on Mac host
- Since 1.7.20 kotlinVersion Mac host can compile all native targets,
so tests with "unsupported targets" on Mac are obsolete.
Merge-request: KT-MR-7133
Merged-by: Pavel Kargashinsky <Pavel.Kargashinsky@jetbrains.com >
2022-09-23 09:59:18 +00:00
konstantin.tskhovrebov
dfbdafeb3c
[KT-51517] Mute ConfigurationCacheIT.testCommonizer due configuration cache issue.
2022-09-23 08:06:53 +00:00
konstantin.tskhovrebov
c9184c6781
[KT-51517] Pass external cinterop dependencies to Commonizer.
2022-09-23 08:06:53 +00:00
Alexander Udalov
ba150ca370
Add JVM target bytecode version 19
...
Test data in `box/annotations/typeAnnotations` is changed because nested
classes in type annotations are rendered differently in JDK 19
(`Outer.Nested` instead of `Outer$Nested`).
#KT-54116 Fixed
2022-09-22 21:56:10 +02:00
Alexander Udalov
8757988037
Minor, generate trailing comma in enums in Gradle compiler types
...
This both simplifies the generator code and makes the generated code
conform to the style guide (see
https://kotlinlang.org/docs/coding-conventions.html#trailing-commas ), in
particular it improves version control diffs for generated enums.
2022-09-22 21:56:10 +02:00
Alexander Likhachev
45b608e195
[Gradle] Move default variant implementations registration upwards
...
Now default variant implementations are being registered in DefaultKotlinBasePlugin, allowing to test KGP api without dealing with variant factories
2022-09-22 17:04:23 +00:00
Alexander Likhachev
749d9f51d1
[Gradle] Remove direct Provider.forUseAtConfigurationTime calls
...
#KT-53823 Fixed
2022-09-22 17:04:23 +00:00
Alexander Likhachev
9d8df8eb5e
[Gradle] Introduce ConfigurationTimePropertiesAccessor
...
#KT-53823 In Progress
2022-09-22 17:04:23 +00:00
Yahor Berdnikau
ad44ee8904
Fix syncing languageSettings for KotlinNativeLink task
...
Task registration may happen within another configuration call leading
to prohibited 'afterEvaluate {}' block error. Fixed it by moving out
sync to separate configuration call.
^KT-54113 Fixed
2022-09-22 17:03:38 +00:00
Artem Kobzar
d7ef5efa6a
[K/JS] Remove ligature that breaks map files comparison pipeline (hack for KT-50589 issue)
2022-09-22 16:03:14 +00:00
Vsevolod Tolstopyatov
137e5d67d0
Scrupulously document OptIn-related annotations
...
#KT-49425
Merge-request: KT-MR-7094
Merged-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com >
2022-09-22 13:57:45 +00:00
Vyacheslav Gerasimov
ec09d3c1e4
Build: Prioritize gradle.integration.tests.split.tasks property
...
To allow disabling task splitting on TeamCity
2022-09-22 15:49:24 +02:00
Pavel Mikhailovskii
f8fd23e373
KT-8575 Add tests and disable reflection for Java synthetic property references
2022-09-22 13:33:28 +00:00
Igor Yakovlev
081cd4a4a8
[WASM] Support nullable types for external functions
2022-09-22 11:54:04 +02:00
Nikolay Krasko
1630386712
Move to JDK_X_Y variables
2022-09-21 22:53:19 +00:00
Nikolay Krasko
87c2e5145c
Move to JDK_9_0 in maven project
2022-09-21 22:53:18 +00:00
Nikolay Krasko
7c11ddf7ac
Move to JDK_1_7 in maven project
2022-09-21 22:53:18 +00:00
Nikolay Krasko
930c63c324
Move to JDK_1_6 in maven project
2022-09-21 22:53:18 +00:00
Nikolay Krasko
e92c7983d0
Move to JDK_1_8 in maven project
2022-09-21 22:53:17 +00:00
Yahor Berdnikau
cc5f65be1e
Update KGP-api binary compatibility with removed JvmTarget.JVM_1_6
2022-09-21 17:01:35 +02:00
Sebastian Sellmair
c641ba5397
[Gradle][MPP] Rename isSharedNative function to isNativeSourceSet
...
^KT-48135 Verification Pending
2022-09-21 14:33:11 +00:00
Sebastian Sellmair
4ddd23b09f
[Gradle][MPP] Add very small doc on KotlinProjectStructureMetadata
...
^KT-48135 Verification Pending
2022-09-21 14:33:11 +00:00
Sebastian Sellmair
929750011a
[Gradle][MPP] Extract CompositeMetadataArtifact.ArtifactContent
...
... into its own top level entity called CompositeMetadataArtifactContent.
This commit also refines naming os the APIs and provides
additional documentation.
^KT-48135 Verification Pending
2022-09-21 14:33:11 +00:00
Sebastian Sellmair
4935026b2c
[Gradle][MPP] transformMetadataLibraries.kt Fix comment
...
^KT-48135 Verification Pending
2022-09-21 14:33:10 +00:00