Sebastian Sellmair
b9db036053
[Gradle] Implement AddBuildListenerForXCodeSetupAction
...
KT-61634
2023-10-18 12:22:07 +00:00
Sebastian Sellmair
3be2eb9b31
[Gradle] Implement CreateFatFrameworksSetupAction
...
KT-61634
2023-10-18 12:22:07 +00:00
Sebastian Sellmair
c7b4057dab
[Gradle] Implement KotlinProjectSetupCoroutine
...
as util to easily launch configure action as suspending code
KT-61634
2023-10-18 12:22:07 +00:00
Sebastian Sellmair
628bd7a6be
[Gradle] Implement KotlinMultiplatformAndroidGradlePluginCompatibilityChecker
...
KT-61634
2023-10-18 12:22:07 +00:00
Sebastian Sellmair
234e5735e3
[Gradle] Implement KotlinToolingDiagnosticsSetupAction
...
KT-61634
2023-10-18 12:22:07 +00:00
Sebastian Sellmair
1c568c2a10
[Gradle] Implement RegisterBuildKotlinToolingMetadataTask
...
KT-61634
2023-10-18 12:22:07 +00:00
Sebastian Sellmair
13492d3316
[Gradle] Implement AddNpmDependencyExtensionProjectSetupAction
...
KT-61634
2023-10-18 12:22:07 +00:00
Sebastian Sellmair
ff6b883cb4
[Gradle] Implement KotlinProjectSetupAction extensionPoint
...
KT-61634
2023-10-18 12:22:07 +00:00
Nataliya.Valtman
9de791b9ac
Create FUS Gradle plugin
...
fus-statistics-gradle-plugin can be used by any other Gradle plugins to
collect additional metrics for FUS.
KT-59627
2023-10-18 10:32:11 +00:00
Dmitriy Novozhilov
ef3d3a9724
[Metadata] Update tests according to KT-62580, KT-62581 and KT-62582
2023-10-18 07:59:27 +00:00
Dmitriy Novozhilov
5602fcdf76
[Build] Handle renderDiagnosticNames build property in stdlib and dom-api-compat modules
2023-10-18 07:59:27 +00:00
Dmitriy Novozhilov
6114e4f068
Fix compilation problems caused by migration to 2.0
2023-10-18 07:59:27 +00:00
Dmitriy Novozhilov
a35f2eb90e
Build: switch language level for compilation to 2.0
...
KT-61951
2023-10-18 07:59:26 +00:00
Sebastian Sellmair
5642f2a8c4
[build] acceptAndroidSdkLicenses, functionalTest: Support Gradle configuration cache
2023-10-18 07:51:17 +00:00
Anton Lakotka
d090791e40
[Gradle] Change rootOutputDirectoryProperty to be DirectoryProperty
...
^KT-61359 Verification Pending
2023-10-18 04:50:47 +00:00
Anton Lakotka
d74a1133e9
[Gradle] Merge testCommonizer and testCleanCommonizationWithConfigurationCache
...
They are essentially testing the same thing. So it is logical
to merge them into single test run.
^KT-61359 Verification Pending
2023-10-18 04:50:47 +00:00
Anton Lakotka
251f52586e
[Gradle] Add fileProperty(initialValue: File) utility function
...
^KT-61359 Verification Pending
2023-10-18 04:50:47 +00:00
Anton Lakotka
6ee4cbb6ec
[Gradle, Test] Let resolveAllConfiguration depend on commonizeNativeDistribution
...
after introducing changes as part of KT-61359
^KT-61359 Verification Pending
2023-10-18 04:50:47 +00:00
Anton Lakotka
c08fb1cae6
[Gradle] add rootOutputDirectoryProperty to NativeDistributionCommonizerTask
...
And read commonized klibs in execution time only.
it is possible only when rootOutputDirectoryProperty is marked as
OutputDirectory.
```kotlin
class Producer {
@get:OutputDirectory
val foo: RegularFileProperty
@get:Internal
val bar: RegularFileProperty
}
val foo = producer.flatMap { it.foo.map { it.listFiles() } }
val bar = producer.flatMap { it.bar.map { it.listFiles() } }
```
`foo` file collection will be evaluated at execution time.
Because `Producer.foo` is an OutputDirectory and its content unknown
during configuration time.
But `bar` file collection will be evaluated at configuration time.
Because according to gradle model it is not Output and therefore
its content can be evaluated before task execution.
^KT-61359 Verification Pending
2023-10-18 04:50:47 +00:00
Anton Lakotka
2111bfae40
[Gradle] Test commonizeNativeDistribution task is not initialized
...
^KT-61359 In Progress
2023-10-18 04:50:47 +00:00
Anton Lakotka
e16f03fc49
[Gradle] Test commonize native distribution and compile task with GCC
...
It should be possible to commonize native distribution from clean state
and compile shared native code in the same gradle build with enabled
configuration cache.
^KT-61359 In Progress
2023-10-18 04:50:47 +00:00
Anton Lakotka
657dd31493
[Gradle] Remove up-to-date checks in CleanNativeDistributionCommonizer
...
Gradle doesn't track removed files in OutputDirectory after task
execution. So if task removed some files and if these files
are added back the task would be still UP-TO-DATE. Which is incorrect.
Executing clean task on empty directory is the same as check that
directory is empty. Therefore, this up-to-date check can be removed.
^KT-62611 Verification Pending
2023-10-18 04:50:47 +00:00
Anton Lakotka
16c17d3c22
[Gradle] Check that commonized native distribution can be cleaned
...
^KT-62611 In-Progress
2023-10-18 04:50:47 +00:00
dependabot[bot]
50e75c6336
Bump @babel/traverse in /libraries/kotlin.test/js-ir/it
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-17 18:15:56 +00:00
Ilya Gorbunov
469ca237db
Remove the previous approach to build wasm stdlib variants
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
d4b245615a
Build wasm stdlib artifacts in kotlin-stdlib project
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
53681a33d9
Add required opt-ins in wasm stdlib sources
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
735a97245d
Remove forgotten ExperimentalStdlibApi in wasm sources
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
db6dfe99a0
Update Dokka to 1.9.10
2023-10-17 15:43:59 +00:00
Sebastian Sellmair
ca79860a71
[Gradle] Move 'whenEvaluated' util function into 'utils' package
2023-10-17 13:58:02 +00:00
Sebastian Sellmair
6240e2eddb
[Gradle] Rename KotlinMultiplatformPlugin.kt to KotlinLegacyMultiplatformPlugin.kt
2023-10-17 13:58:01 +00:00
Sebastian Sellmair
a8e637205c
[Gradle] Migrate extraProperties.getOrPut usages to *StoredProperty
...
KT-61634
2023-10-17 12:10:15 +00:00
Sebastian Sellmair
ecbd741e40
[Gradle] Rename stored{Classifier}Property to {classifier}StoredProperty
...
This change is intended to improve the intuition of developers.
After adding the two functions, many times developers (me) have
tried to use the 'wrong' (which is now the new name) function name.
KT-61634
2023-10-17 12:10:15 +00:00
Sebastian Sellmair
08241acb6f
[Gradle] Demote ExtrasProperty APIs with little usage
...
Those APIs can either be replaced with StoredProperty
Some APIs also have shown to be 'hard to understand'
KT-61634
2023-10-17 12:10:15 +00:00
Ilya Goncharov
22a01432df
[Gradle,JS] Remove legacy target in Gradle plugin
...
This reverts commit 4c82206d
^KT-60694 fixed
2023-10-17 09:42:38 +00:00
Ilya Goncharov
4e37ac6ed8
[JS] Silent rollup build
...
^KT-53077 fixed
2023-10-16 21:20:49 +00:00
Ilya Goncharov
6de4d99706
[JS] Drop publishing JAR artifact of kotlin-stdlib-js
...
^KT-62067 fixed
2023-10-16 13:34:37 +00:00
Ilya Goncharov
51c6e81de9
[JS] Drop publishing JAR artifact of kotlin-test-js
...
^KT-62067 fixed
2023-10-16 13:34:37 +00:00
Ilya Goncharov
1cde8c3624
[JS] Fix kotlin bom to use type klib
2023-10-16 13:34:37 +00:00
Ilya Goncharov
1b7e7dfed7
[JS] Fix JS artifacts in maven build
2023-10-16 13:34:36 +00:00
strangepleasures
ac51e7b407
KT-61628 [KAPT] Re-enable testAndroidDaggerIC in K2
2023-10-13 16:23:14 +00:00
Artem Daugel-Dauge
9c1fa93607
[Gradle] Fix CocoaPods-Xcode tests
2023-10-13 14:03:45 +00:00
Sebastian Sellmair
4c15509776
[Gradle] Rename KotlinExtensionPoint to KotlinGradlePluginExtensionPoint
...
KT-61634
2023-10-12 18:24:17 +00:00
Sebastian Sellmair
d471a5ed4a
[Gradle] Migrate KotlinGradleProjectChecker to KotlinExtensionPoint
...
KT-61634
2023-10-12 18:24:17 +00:00
Sebastian Sellmair
30665c3e02
[Gradle] Implement KotlinExtensionPoint to allow extensible designs inside the KotlinGradlePlugin
...
KT-61634
2023-10-12 18:24:17 +00:00
Sebastian Sellmair
e78331cd5c
[Gradle] Implement generic 'StoredProperty' mechanism
...
This will allow extending objects of 'Project' or 'HasMutableExtras'
with generic, stored instances
KT-61634
2023-10-12 18:24:17 +00:00
strangepleasures
2319e11ff1
[KAPT] KT-62059 Disable incremental stub generation in K2
2023-10-12 13:37:23 +00:00
Ilya Goncharov
376d27dc6a
[Gradle, Wasm] Fix proxy for karma wasm tests on windows
...
^KT-62128 fixed
2023-10-12 09:27:34 +00:00
Artem Daugel-Dauge
c19fc3ced3
[Gradle] Fix some macOS Gradle IT
2023-10-10 10:57:08 +00:00
Ilya Goncharov
ed247a3892
[JS] Remove kotlin-archetype-js
...
^KT-54868 fixed
2023-10-10 09:16:14 +00:00