Anton Lakotka
67a511544c
[Gradle] Remove defaultConfigurationName
...
^KT-55201 Verification Pending
2023-05-31 15:45:25 +00:00
Alexander Udalov
60016d3e5b
Remove obsolete compiler flag -Xuse-ir
2023-05-30 14:46:09 +00:00
Alexander Udalov
bb4bb58453
Remove tests on -Xuse-ir compiler flag
...
This flag is going to be removed because old backend is not supported
anymore, therefore there's no need to test it.
2023-05-30 14:46:09 +00:00
Yahor Berdnikau
4b643480d6
[Gradle] Fix spelling errors in tryK2 report
...
^KT-58869 Fixed
2023-05-30 11:24:16 +00:00
Alexander Shabalin
4ddc94bc8d
[Gradle][MPP] DEPRECATE_ERROR for deprecated targets in tests ^KT-58822
2023-05-26 14:47:45 +00:00
Alexander Shabalin
1ef198ead4
[Gradle][MPP] Promote several K/N targets deprecation level to error
2023-05-26 14:47:45 +00:00
Yahor Berdnikau
9f12dae117
[repo] fix KGP pom has multiple dependencies on KGP-api
2023-05-26 13:20:41 +00:00
Yahor Berdnikau
8c8f1718b9
[repo] KGP: more fine-grained AGP dependency
...
Removed unneeded transitive dependencies
2023-05-26 13:20:40 +00:00
Yahor Berdnikau
e2801c366b
[repo] KGP: remove compiler dependencies coming transitively
2023-05-26 13:20:40 +00:00
Yahor Berdnikau
ec01e037f3
[repo] KGP: depend on :kotlin-compiler-runner-unshaded for compileOnly
2023-05-26 13:20:40 +00:00
Yahor Berdnikau
6ddc7ce23f
[repo] KGP: remove kotlin-project-model dependency
...
It is coming transitively from KGP-api
2023-05-26 13:20:40 +00:00
Yahor Berdnikau
83a3e7f8a1
[repo] KGP: drop some android dependencies
2023-05-26 13:20:40 +00:00
Yahor Berdnikau
4ee0a97ddd
[repo] KGP: drop guava dependency
...
It was unused.
2023-05-26 13:20:40 +00:00
Yahor Berdnikau
f7e2b8b516
[repo] KGP: drop groovy-all dependency
...
Add ported from Groovy escapeJavaStyleString method into our
codebase.
2023-05-26 13:20:40 +00:00
Yahor Berdnikau
99dd2517c4
[repo] KGP: remove transitive dependencies coming from KGP-API
2023-05-26 13:20:40 +00:00
Yahor Berdnikau
2de4495711
[repo] migrate KGP to compiler options DSL
2023-05-26 13:20:40 +00:00
Nataliya.Valtman
06ac8a10cd
Use FlowParameter for buildFinish event
...
Support build scan report for Gradle 8.1
#KT-55740: Fixed
#KT-58251: Fixed
2023-05-25 14:24:16 +00:00
Anton Lakotka
9456872bbe
[Gradle] Remove unnecessary participatingSourceSetsLazy
...
The `withDependsOnClosure` is live object, it is ok to request it early
as long as other properties will read data from it at the end of the
configuration.
^KT-58471 Verification Pending
2023-05-25 10:25:17 +00:00
Anton Lakotka
731d3bf602
[Gradle] Remove legacy participatingSourceSets logic
...
It is unknown why we would need to include commonMain source set
explicitly from kotlinExtension.sourceSets.
Few assumptions:
* common main source set loaded somehow from different classloader
* compatibility with legacy multipaltform plugins
^KT-58471 Verification Pending
2023-05-25 10:25:16 +00:00
Anton Lakotka
60939a8fe6
[Gradle] Change skipProjectDependencies to transformProjectDependencies
...
For better code readability
^KT-58471 Verification Pending
2023-05-25 10:25:16 +00:00
Anton Lakotka
792c08ec7d
[Gradle] Test CInterop commonization doesn't trigger configuration resolution
...
...before taskGraph is ready
KT-56858 Verification Pending
2023-05-25 10:25:16 +00:00
Anton Lakotka
fc33892e70
[Gradle] Test cinterop dependency from composite build
...
KT-58471 Verification Pending
2023-05-25 10:25:16 +00:00
Anton Lakotka
7c47ff0819
[Gradle] Introduce isProjectComponentIdentifierInCurrentBuild
...
KT-58471 Verification Pending
2023-05-25 10:25:16 +00:00
Anton Lakotka
9ead1d84b1
[Gradle] Fix CInterop commonization for included builds
...
KT-58471 Verification Pending
2023-05-25 10:25:16 +00:00
Anton Lakotka
b6a3a60f36
[Gradle] Update UP-TO-DATE checks in MppCInteropDependencyTransformationIT
...
CInteropDependencyTransformation task now is executed also for project
dependencies.
KT-58471 Verification Pending
2023-05-25 10:25:16 +00:00
Anton Lakotka
e937f0739b
[Gradle] Process project dependencies in CLI version of CInterop[MDT]Task
...
If MetadataDependencyTransformation is triggered it will resolve related
metadata dependency configuration. Which is not recommended from gradle
performance point of view.
Update CInterop[MDT]Task to work as regular [MDT]Task i.e. it will
process project dependencies during task execution but keep the original
functionality for IDE. Since during IDE import it is expected to resolve
configurations during gradle configuration phase.
^KT-58471 Verification Pending
2023-05-25 10:25:16 +00:00
Anton Lakotka
72c7d15be8
[Gradle] Share Cinterop and regular [MDT]Tasks inputs
...
These tasks are essentially operating on the same inputs but produces
different ouputs. Therefore, it makes sense to extract their Task Inputs
into a separate container and let these tasks share it.
KT-58471 Verification Pending
2023-05-25 10:25:16 +00:00
Sebastian Sellmair
d8ed7a2820
[Gradle] Run functionalTests in parallel
2023-05-25 09:33:44 +00:00
Sebastian Sellmair
e0389a0a87
[Gradle] Implement KotlinJvmTarget.mainRun (KotlinJvmRun)
...
This task will also automatically support the use case of
a 'carrier' task for the IDE. The IDE can use this task
to execute generic main methods, providing a -P<taskName>.mainClass
property
^KT-58661 Verification Pending
2023-05-24 15:00:07 +00:00
Sebastian Sellmair
3b1a7c3ac1
[Gradle] CInteropConfigurations: Support lazy configuration
...
Using 'whenEvaluated' (aka 'afterEvaluate') is not supported
when using lazy APIs (like register). In order to safely
copy user configuration in both use-cases,
'launchInStage(AfterFinaliseDsl)' is used as this will be safe
either way.
^KT-58838 Verification Pending
2023-05-24 11:45:21 +00:00
Sebastian Sellmair
dafe24a3a9
[Gradle] Implement KT58838LazyCinteropConfiguration to cover KT-58838
2023-05-24 11:45:21 +00:00
Dmitrii Krasnov
548ebbaf90
refactored OsCondition behavior with multiple same annotations on the same target
...
#KT-51553 In Progress
2023-05-24 06:58:01 +00:00
Nikolay Lunyak
87cab95713
[FIR] KT-58444: Ensure the compiler crashes
2023-05-23 15:59:41 +00:00
Anton Lakotka
effe902c69
[Gradle] fix functional tests after deprecating API
...
In KotlinDependencyHandler
^KT-58759 Verification Pending
2023-05-23 09:00:30 +00:00
Anton Lakotka
c49f08f427
[Gradle] Test type safe project accessors with KotlinDependencyHandler
...
KT-58759 Verification Pending
2023-05-23 09:00:30 +00:00
Anton Lakotka
b3b0f23a50
[Gradle] Deprecate rare api in KotlinDependencyHandler
...
Recommend users default `project.dependencies` instead.
Gradle's DependencyHanlder has its own evolution thus
we cannot easily maintain API of KotlinDependencyHandler to look like
Gradle's DependencyHandler. We're going to support only our own
factory methods to create dependencies + `project` dependencies.
KT-58759 Verification Pending
2023-05-23 09:00:30 +00:00
Artem Daugel-Dauge
5700212119
[Gradle] Fix embedAndSign failire when signing is disable
...
^KT-50837 Verification Pending
2023-05-23 08:13:25 +00:00
Pavel Kargashinsky
322799f823
[FunctionalTests] Fail tests if androidSDK is not available, not ignore
...
Tests use kotlin/dependencies/android-sdk, androidSDK should be always available
2023-05-23 07:57:49 +00:00
Pavel Kargashinsky
9449e23538
[FunctionalTests] Fix run ExternalAndroidTargetPropertySmokeTest on Windows
2023-05-23 07:57:49 +00:00
Igor Yakovlev
1c716cee9c
[Wasm] Update versions of nodejs, d8 and binaryen
2023-05-19 15:50:06 +00:00
Dmitrii Krasnov
8e3469f220
added mpp platform values into AllowedListAnonymizer for statistics
...
#KT-58104 InProgress
2023-05-19 06:41:52 +00:00
Yahor Berdnikau
37402336d5
[Gradle] Fix compiler plugins options were not passed to KaptGenerateStubs task
...
^KT-58745 Fixed
2023-05-18 14:55:16 +00:00
Yahor Berdnikau
c14bb499e1
[Gradle] Update Duckduckgo regression benchmark
2023-05-17 18:22:47 +00:00
Yahor Berdnikau
7f0ecb0fc1
[Gradle] Update KVision regression benchmark
2023-05-17 18:22:47 +00:00
Yahor Berdnikau
1369183d36
[Gradle] Update graphql-kotlin benchmark
2023-05-17 18:22:46 +00:00
Artem Daugel-Dauge
ca0b0e61e8
[Gradle] Add workarounds in CocoaPods plugin for compatibility with Xcode 14.3
...
Raise deployment target for 3rd-party pods if it's less then minimal supported by the new Xcode
^KT-57539 Verification Pending
2023-05-17 16:02:14 +00:00
Artem Daugel-Dauge
f7acbb5252
[Gradle] Explicitly forbid an interop-binding self-dependency in CocoaPods plugin
2023-05-17 15:58:14 +00:00
Sebastian Sellmair
2dcaad2d03
[Gradle] Reshape API surface for setting Android SourceSetTrees
...
^KT-58710 Verification Pending
2023-05-16 13:19:42 +00:00
Sebastian Sellmair
e1d48847dc
[Gradle] Rename KotlinTargetHierarchyBuilder.withAndroid to withAndroidTarget
...
... by deprecating .withAndroid in favor of 'withAndroidTarget' to
make room for the Google maintained 'Android Target'
^KT-58710 Verification Pending
2023-05-16 13:19:42 +00:00
Sebastian Sellmair
ff7e4f7986
[Gradle] Implement SourceSetTreeClassifier API
...
- This new API will be configurable for 'External Kotlin Targets'
- This change also moves targetHierarchy.android {} into the androidTarget
to avoid potential confusion around the KGP managed AndroidTarget vs
the Google implementation.
KT-58710
2023-05-16 13:19:42 +00:00