Mikhail Glukhikh
3f96626b40
Introduce SubclassOptInRequired annotation (see KT-41886)
2022-08-11 14:05:06 +00:00
Dmitriy Novozhilov
6fde784b55
[FE 1.0] Allow generation of nested classes for java classes from plugins
2022-08-11 15:22:35 +03:00
Ilya Gorbunov
5adfbfc73f
Temporarily disable testng docs linking
...
Until https://github.com/cbeust/testng/issues/2789 is fixed
2022-08-11 10:42:27 +00:00
Dmitriy Novozhilov
ba7df005a1
[Build] Fix JPS import
2022-08-11 11:55:15 +03:00
Ilya Goncharov
032153c673
[Gradle, JS] Remove fail after build option
...
^KT-53381 fixed
2022-08-10 14:47:29 +00:00
sebastian.sellmair
8fcbe9902c
[Gradle][KT-51583] Ensure jvm-ecosystem plugin is applied when NativeDistributionCommonizerTask is registered in root
...
^KT-51583 Verification Pending
https://github.com/gradle/gradle/issues/20145
2022-08-09 15:12:46 +00:00
sebastian.sellmair
f713782737
[Gradle][KT-51583][Minor] add 'projectBuilder' block to buildProject functions
2022-08-09 15:12:45 +00:00
sebastian.sellmair
97ecf43b77
[Gradle][KT-53342] MultiplatformLayoutV1PromoteV2Checker: Show only single warning per build
2022-08-08 19:04:32 +00:00
sebastian.sellmair
9b8fbea0dc
[Gradle][KT-53342] KotlinAndroidSourceSetNaming: Merge kotlinSourceSetName overloads
2022-08-08 19:04:31 +00:00
sebastian.sellmair
c8e2888db9
[Gradle][KT-53342] KotlinAndroidSourceSetFactory: Improve error messages
2022-08-08 19:04:30 +00:00
sebastian.sellmair
f1a54dfeba
[Gradle][KT-53342] M/A SSLv2: Only change Manifest location when it was not previously changed
2022-08-08 19:04:30 +00:00
sebastian.sellmair
60c90d6065
[Gradle][KT-53342] KotlinAndroidSourceSets: Extract KotlinAndroidSourceSetFactory
2022-08-08 19:04:29 +00:00
sebastian.sellmair
6a13c2797b
[Gradle][KT-53342] KotlinAndroidSourceSetLayoutCheckers to provide migration from V1 -> V2
2022-08-08 19:04:28 +00:00
sebastian.sellmair
82d92a4e82
[Gradle][KT-53342] Implement MultiplatformAndroidSourceSetLayoutV2IT
2022-08-08 19:04:28 +00:00
sebastian.sellmair
3b19cf5831
[Gradle][KT-53342] Introduce 'invokeWhenCreated' API to configure objects when created
...
This aims to make it possible and sane to configure
Android SourceSets that get created in AGP's afterEvaluate phase.
SourceSets that contain flavor and buildTypes will not be available
right away. Using regular Gradle APIs like
```
sourceSets.matching { it.name == "..." }.configure {}
```
are not sufficient, since misconfigurations here will stay
unnoticed, whilst this 'invokeWhenCreated' API ensures
that the object is available at least before the buildscripts
'afterEvluate'
2022-08-08 19:04:27 +00:00
sebastian.sellmair
9634e64322
[Minor] Move 'buildProject' functions to o.j.k.g and call source file 'buildProject.kt'
2022-08-08 19:04:26 +00:00
sebastian.sellmair
e1e0b76376
[Minor] Add defaults to buildProject functions
2022-08-08 19:04:25 +00:00
sebastian.sellmair
03dab74d47
[Gradle][KT-53342] AndroidCompilationDetails/MultiplatformAndroidSourceSetLayoutV2: Select proper defaultSourceSetName
2022-08-08 19:04:25 +00:00
sebastian.sellmair
f68c05c1fb
[Gradle][KT-53342] Implement MultiplatformAndroidSourceSetLayoutV2Test
2022-08-08 19:04:24 +00:00
sebastian.sellmair
e307b96671
[Gradle][KT-53342] Implement simple SingleTargetAndroidSourceSetLayoutTest
2022-08-08 19:04:23 +00:00
sebastian.sellmair
f45a073dc0
[Gradle][KT-53342] Run functionalTests w/ AGP 7.2.1 and Java 11
2022-08-08 19:04:23 +00:00
sebastian.sellmair
28f293e0ce
[Gradle][KT-53342] Implement KotlinAndroidSourceSetLayoutExtensionTest
2022-08-08 19:04:22 +00:00
sebastian.sellmair
fe5a4bb12a
[Gradle][KT-53342] Implement Multiplatform/Android V2 source set layout
...
^KT-53342 Verification Pending
2022-08-08 19:04:21 +00:00
sebastian.sellmair
38ada5c9fc
[Gradle][KT-53342] KotlinAndroidTarget: Let disambiguationClassifier be final
2022-08-08 19:04:20 +00:00
sebastian.sellmair
194fff11bd
[Gradle][KT-53342] Merge Android25ProjectHandler and AbstractAndroidProjectHandler
...
Since there was just a single implementation of AbstractAndroidProjectHandler,
merging those classes makes it easier to remove dead code and
maintain the implementation.
2022-08-08 19:04:20 +00:00
sebastian.sellmair
b6ee6d536c
[Minor] Move WhenEvaluatedAndroidOrderingTest into o.j.k.gradle
2022-08-08 19:04:19 +00:00
sebastian.sellmair
bc27e07467
[Minor] CompilationDetails: Optimize imports
2022-08-08 19:04:18 +00:00
Ilya Goncharov
28310eb970
[Gradle, JS] Add error state to know when operation was failed
2022-08-08 08:55:47 +00:00
konstantin.tskhovrebov
d5164fbc86
[KT-47355] Support macOS targets in FatFramework task.
2022-08-05 15:10:47 +00:00
Dmitry Gridin
4ceb170917
regenerate tests
2022-08-05 14:12:41 +02:00
Hung Nguyen
17bf6be807
Improve log messages when failing to compile with daemon
...
Instead of letting `compileWithDaemon` return null, allow it to throw
exceptions so that the caller can catch those exceptions and log clearer
messages on why it failed.
^KT-31602 In progress
2022-08-05 08:47:43 +00:00
Hung Nguyen
98349411fb
Always compile non-incrementally if incremental state is missing
...
Test: Updated IncrementalCompilationClasspathSnapshotJvmMultiProjectIT.
.testMissingIncrementalState
^KT-53231 Fixed
2022-08-05 07:45:24 +00:00
Hung Nguyen
9ca411a64c
Add integration test for the case where incremental state is missing
...
^KT-53231 In progress
2022-08-05 07:45:23 +00:00
Hung Nguyen
49209804f2
Add ability to debug Kotlin daemon in integration tests
...
^KT-53231 In progress
2022-08-05 07:45:23 +00:00
Hung Nguyen
0c5eda1382
Revise incremental compilation failure handling tests
...
Revise BaseIncrementalCompilationMultiProjectIT's failure handling
tests to make it clear we have covered 2 important scenarios:
- Failures caused by user errors: testFailureHandling_UserError
- Failures caused by tool errors: testFailureHandling_ToolError
^KT-53231 In progress
2022-08-05 07:45:22 +00:00
Anton Lakotka
4310778137
[Gradle] Make AbstractKotlinNativeCompile::manifestFile to be Provider
...
KT-43293
2022-08-05 04:25:22 +00:00
Anton Lakotka
0d3f8cf91a
[Gradle] Make additionalCompilerOptions to be Provider in native tasks
...
This fixes BC that was introduced previous commits
^KT-43293
2022-08-05 04:25:22 +00:00
Anton Lakotka
e07ef85e91
[Gradle] Use ProjectLayout in execution phase instead of Project.buildDir
...
It gives more flexibility during execution phase. Since `buildDir` is
not sealed in cached task state. But instantiated during the execution
phase.
^KT-43293
2022-08-05 04:25:21 +00:00
Anton Lakotka
656d823048
[Gradle] Make customJvmArgs and commonizerClasspath to be Gradle Inputs
...
Since it is necessary to re-run commonzier once values of these
properties are changed.
^KT-43293
2022-08-05 04:25:20 +00:00
Anton Lakotka
2427fdf5e2
[Gradle] Code review NITs
...
^KT-43293
2022-08-05 04:25:19 +00:00
Anton Lakotka
d8fd282b39
[Gradle] Use explicit factory methods instead of constructor override
...
In KotlinNativeToolRunner Settings classes
^KT-43293
2022-08-05 04:25:19 +00:00
Anton Lakotka
51034e4e46
[Gradle] Fix PlatformCommonizer classpath configuration consumption
...
Make sure that Commonizer Tasks consume correct classpath configuration
^KT-43293
2022-08-05 04:25:18 +00:00
Anton Lakotka
7fedf22946
[Gradle] Use defaultBuildOptions in testNativeTasks
...
^KT-43293
2022-08-05 04:25:17 +00:00
Anton Lakotka
528584deaa
[Gradle] Fix testHmppTasksAreNotIncludedInGradleConfigurationCache test
...
^KT-43293
2022-08-05 04:25:17 +00:00
Anton Lakotka
e00f9c25a1
[Gradle] Update ConfigurationCacheIT test for native tasks
...
Since GenerateProjectStructureMetadata supports Configuration Cache
^KT-43293
2022-08-05 04:25:16 +00:00
Anton Lakotka
78be7841a1
[Gradle] Read TC_PROJECT_PROPERTY during execution time
...
^KT-43293
2022-08-05 04:25:15 +00:00
Anton Lakotka
c27e0fff24
[Gradle] Remove unnecessary comment from tests
...
^KT-43293
2022-08-05 04:25:15 +00:00
Anton Lakotka
4a5f9617db
[Gradle] Don't use forUseAtConfigurationTime since it is not necessary
...
^KT-43293
2022-08-05 04:25:14 +00:00
Anton Lakotka
f85762ab56
Make NativeDistributionCommonizerTask configuration cache compatible
...
^KT-43293 In Progress
2022-08-05 04:25:13 +00:00
Anton Lakotka
8cc9406b1f
[Gradle] Use objectFactory.fileCollection instead of lazy
...
^KT-43293
2022-08-05 04:25:13 +00:00