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
Sebastian Sellmair
59f4d76bcf
[Gradle][MPP] CompositeMetadataArtifact: Remove Int checksum (keep String)
...
^KT-48135 Verification Pending
2022-09-21 14:33:10 +00:00
Sebastian Sellmair
9f01217050
[Gradle][MPP] Add comment for CInteropMetadataDependencyTransformationTask.OutputLibraryFilesDiscovery.Precise
...
^KT-48135 Verification Pending
2022-09-21 14:33:10 +00:00
Sebastian Sellmair
386c2f8015
[Gradle][MPP] Fix KotlinProjectStructureMetadataSerializationTest.sampleMetadata
...
This object did not list 'commonMain' and put non-idiomatic
data into 'sourceSetNamesByVariantName'
^KT-48135 Verification Pending
2022-09-21 14:33:09 +00:00
Sebastian Sellmair
59d0bd5e39
[Gradle][MPP] Rename CompositeMetadataArtifact.ArtifactHandle to ArtifactContent
...
^KT-48135 Verification Pending
2022-09-21 14:33:09 +00:00
Sebastian Sellmair
75cc378cac
[Gradle][MPP] Include artifact checksum string in transformed metadata klib file names
...
This can be used for locally published snapshot libraries.
Without it, the import will see that there is already
a library with same coordinates in .gradle/kotlin/... and
therefore skip extracting it.
Including the 32 checksum at the end of the file will ensure,
that if a different artifact is the source of the metadata,
then a new file will be created.
This approach is generally more desirable than cleaning the
.gradle/kotlin directory to avoid the IDE of re-indexing
after import.
^KT-48135 Verification Pending
2022-09-21 14:33:09 +00:00
Sebastian Sellmair
f1aad4aa4e
[Gradle][MPP] Rename TransformKotlinGranularMetadataForFragment to GradleKpmMetadataDependencyTransformationTask
...
This, hopefully, finally makes my life easier.
^KT-48135 Verification Pending
2022-09-21 14:33:08 +00:00
Sebastian Sellmair
27f7150d48
[Gradle][MPP] Rename TransformKotlinGranularMetadata to MetadataDependencyTransformationTask
...
This, hopefully, finally makes my life easier.
^KT-48135 Verification Pending
2022-09-21 14:33:08 +00:00
Sebastian Sellmair
a2229758d7
[Gradle][MPP] Rename JarMetadataProvider to ArtifactMetadataProvider
...
^KT-48135 Verification Pending
2022-09-21 14:33:07 +00:00
Sebastian Sellmair
3cee2ca409
[Gradle][MPP] Flatten transformed metadata library directories
...
The main purpose of this commit is to fix KT-48135 and to
de-duplicate libraries for the IDE whilst also minimizing
zip operations during IDE import.
However, with this commit the metadata library directories layout
also gets changed for CLI builds. The overall layout
is now more shared with cinterops and the IDE.
^KT-48135 Verification Pending
2022-09-21 14:33:06 +00:00
Sebastian Sellmair
7a1f4304d0
[Gradle][MPP] Implement CompositeMetadataArtifact
...
^KT-48135 WIP
2022-09-21 14:33:06 +00:00
Sebastian Sellmair
244094501b
[Gradle][MPP] Fix isSharedNative condition in getHostSpecificSourceSets
...
^KT-48135 WIP
2022-09-21 14:33:06 +00:00
Sebastian Sellmair
74594c05ca
[Gradle][MPP] zipUtils: Add ZipFile.copyPartially
...
^KT-48135 WIP
2022-09-21 14:33:05 +00:00
Sebastian Sellmair
2391720999
[Gradle][MPP] KotlinProjectStructureMetadata: Add .sourceSetNames property
...
^KT-48135 WIP
2022-09-21 14:33:05 +00:00
Sebastian Sellmair
5580e4f06c
[Gradle] KotlinPlugin.kt: Convert minimalSupportedAgpVersion into data class representation
...
^KT-54033 Verification Pending
2022-09-21 13:43:46 +00:00
Sebastian Sellmair
f286588e4c
[Gradle] Setup kotlin sources directly on AndroidSourceSet for AGP >= 7.0
...
^KT-54033 Verification Pending
2022-09-21 13:43:45 +00:00
Sebastian Sellmair
958c7e72da
[Gradle] Replace KotlinPlugin.kt#androidPluginVersion with AndroidGradlePluginVersion
...
^KT-54033 WIP
2022-09-21 13:43:45 +00:00
Sebastian Sellmair
7d5b3d3628
[Gradle] KotlinMultiplatformAndroidGradlePluginCompatibilityHealthCheck: Use AndroidGradlePluginVersion tool
...
^KT-54033 WIP
2022-09-21 13:43:45 +00:00
Sebastian Sellmair
32f86d4672
[Gradle] Implement AndroidGradlePluginVersion util
...
^KT-54033 WIP
2022-09-21 13:43:44 +00:00
Ilya Goncharov
3a39a0d468
[Gradle, JS] Karma kotlin reporter initialize browser if it was not initialized
...
^KT-54132
2022-09-21 13:15:27 +00:00
Yahor Berdnikau
fbc155ba17
Restore 'target' input for KotlinNativeLink task
...
^KT-54112 Fixed
2022-09-21 15:13:46 +02:00
Yahor Berdnikau
136ccbd328
Remove JvmTarget.JVM_1_6 from Gradle DSL
...
This target is not available inside compiler and left for IDE
compatibility.
^KT-54103 Fixed
2022-09-21 13:34:26 +02:00
Ilya Goncharov
f450b9397e
[Gradle, JS] Fix testData for kotlin-gradle-plugin-api
2022-09-21 10:58:27 +00:00