Igor Yakovlev
0ea7e8b70a
[WASM] Add array copy intrinsic
2022-07-06 19:07:56 +00:00
nataliya.valtman
3b84284743
Add tests for statistic report after build finish
2022-07-06 14:35:19 +00:00
nataliya.valtman
2520ef9232
Add build uuid into build scan
2022-07-06 14:35:18 +00:00
nataliya.valtman
4b0ac511b2
Add configuration_cache tag into statistic
2022-07-06 14:35:17 +00:00
Yahor Berdnikau
5eebcd92bd
Fix using deprecated IsolationMode enum
...
^KT-46019 Fixed
2022-07-04 15:24:52 +00:00
Yahor Berdnikau
913660ce2b
Use destinationDirectory instead of destinationDir in KotlinJvmTarget
...
^KT-46019 In Progress
2022-07-04 15:24:51 +00:00
Yahor Berdnikau
c414b1ba93
Remove deprecated ConfigureUtil usages in KotlinTarget.mavenPublication
...
^KT-46019 In Progress
2022-07-04 15:24:50 +00:00
Yahor Berdnikau
99c19dc046
Remove deprecated ConfigureUtil usages in KotlinTargetWithBinaries
...
^KT-46019 In Progress
2022-07-04 15:24:50 +00:00
Yahor Berdnikau
762ed90a80
Remove deprecated ConfigureUtil usages in CocoapodsExtension
...
^KT-46019 In Progress
2022-07-04 15:24:49 +00:00
Yahor Berdnikau
06c5884d4d
Remove deprecated ConfigureUtil usages in CinteropSettings
...
^KT-46019 In Progress
2022-07-04 15:24:48 +00:00
Yahor Berdnikau
59025ad742
Remove deprecated ConfigureUtil usages in KotlinJsTest
...
^KT-46019 In Progress
2022-07-04 15:24:48 +00:00
Yahor Berdnikau
37fd47eee3
Remove deprecated ConfigureUtil usages in Kotlin target containers
...
^KT-46019 In Progress
2022-07-04 15:24:47 +00:00
Yahor Berdnikau
f0cfe60734
Remove deprecated ConfigureUtil usages in HasKotlinDependencies
...
^KT-46019 In Progress
2022-07-04 15:24:46 +00:00
Yahor Berdnikau
4b0ba493b7
Remove deprecated ConfigureUtil usages in KotlinAggregatingExecution
...
^KT-46019 In Progress
2022-07-04 15:24:46 +00:00
Yahor Berdnikau
ddeb8b0a1f
Remove deprecated ConfigureUtil usages in JS configuration DSL
...
^KT-46019 In Progress
2022-07-04 15:24:45 +00:00
Yahor Berdnikau
ae3451e2c8
Remove deprecated ConfigureUtil usages in KotlinNativeBinaryContainer
...
^KT-46019 In Progress
2022-07-04 15:24:44 +00:00
Yahor Berdnikau
e765d65b50
Remove deprecated ConfigureUtil usages in Kotlin presets DSL
...
^KT-46019 In Progress
2022-07-04 15:24:44 +00:00
Yahor Berdnikau
46d7d73e6f
Remove deprecated ConfigureUtil usages in KotlinProjectExtension
...
^KT-46019 In Progress
2022-07-04 15:24:43 +00:00
Yahor Berdnikau
ac14a1e016
Remove deprecated WrapUtil usages
...
^KT-46019 In Progress
2022-07-04 15:24:42 +00:00
Yahor Berdnikau
23e16dfc5d
Fix test project is using deprecated JavaExec.main property
...
^KT-46019 In Progress
2022-07-04 15:24:42 +00:00
Yahor Berdnikau
e902ae7c09
Fix usage of deprecated Report.setEnabled() method
...
^KT-46019 In Progress
2022-07-04 15:24:41 +00:00
Yahor Berdnikau
851f55e9ec
Set Gradle 7.1.1 as max target version for integration tests
...
^KT-46019 In Progress
2022-07-04 15:24:40 +00:00
nataliya.valtman
398228679a
Report build metrics in the end of build
2022-07-04 15:11:34 +00:00
Nikolay Krasko
48a2ef040e
Fix publication for kotlin-gradle-plugin-idea-proto
...
Javadoc and sources were missing.
2022-07-01 13:40:24 +00:00
Ilya Gorbunov
d825af7a22
Switch language version in Kotlin project to 1.8
...
Use kotlinx-metadata-jvm:0.5.0 that supports reading 1.8.0 kotlin metadata version
2022-07-01 13:04:03 +00:00
Dmitriy Novozhilov
1a8496757e
[Compiler] Mark all entrypoints to compiler API as experimental
2022-06-29 12:00:01 +00:00
Dmitriy Novozhilov
c979e1edcf
[Plugins] Deprecate ComponentRegistrar
...
^KT-52665 In Progress
2022-06-29 11:59:58 +00:00
Dmitriy Novozhilov
8b42638afa
[Plugins] Introduce new API for registering compiler plugins
...
Original `ComponentRegistrar` exposes Project to its registration method,
so plugins should manually register extensions to it. To prepare for
possible unbound compiler from Project API in future new `K2ComponentRegistrar`
introduced which provides registration method without Project at all
2022-06-29 11:59:58 +00:00
Ilya Chernikov
bb996c1b27
Switch kotlin version to 1.8
...
with appropriate fixes in testdata, tests and other
places.
2022-06-29 10:20:30 +02:00
Ilya Chernikov
6c31dc90e4
Scripting: ignore incorrect test
...
see #KT-52986 for details
2022-06-28 16:21:25 +02:00
Hung Nguyen
46c769deb6
[IC] Fix fallback logic in IncrementalCompilerRunner
...
The current logic works as follows:
- Try either incremental compilation or non-incremental compilation
- If the above (or any of its surrounding work) fails, fall back to
non-incremental compilation
This means we may perform non-incremental compilation twice.
This commit will fix that logic so that we fall back to non-incremental
compilation only if *incremental compilation* fails.
A nice consequence of this change is that it also resolves the critical
bugs described at KT-52669 (which occur because the current logic is
flawed).
#KT-52669 Fixed
2022-06-28 12:47:11 +00:00
Abduqodiri Qurbonzoda
dc6d2edf51
Implement a workaround for PathTreeWalk @SinceKotlin #KT-52977
2022-06-28 00:52:43 +00:00
Abduqodiri Qurbonzoda
78666e3ecb
Provide visit extension functions for java.nio.file.Path #KT-52910
2022-06-28 00:52:43 +00:00
Abduqodiri Qurbonzoda
e7b37b3497
Implement a walk extension function for java.nio.file.Path #KT-52909
2022-06-28 00:52:42 +00:00
Ilya Gorbunov
7e5abdb1c0
Update API dumps for open ranges and their operations
...
#KT-52932
2022-06-28 00:08:10 +00:00
Ilya Gorbunov
8584fe2725
Add contains extension for mixed types for open ranges and open-closed range specializations
...
#KT-52932
2022-06-28 00:08:05 +00:00
Ilya Gorbunov
9574040f85
Add rangeUntil for primitives as an extension
...
#KT-52932
2022-06-28 00:08:05 +00:00
Ilya Gorbunov
71336df50a
Support open ranges in stdlib-gen
...
#KT-52932
2022-06-28 00:08:04 +00:00
sebastian.sellmair
3aa3466d2e
[Gradle][MPP] MPPBuildReproducibilityIT | ArchiveReproducibilityTest: Include js target
...
^KT-52740 Verification Pending
2022-06-27 08:26:52 +00:00
sebastian.sellmair
c93b1d2aab
[Gradle][MPP] MPPBuildReproducibilityIT: Use custom diff implementation
...
^KT-52740 Verification Pending
2022-06-27 08:26:51 +00:00
sebastian.sellmair
1e118c06af
[Gradle][MPP] MPPBuildReproducibilityIT: Restrict to linux and mac hosts
...
^KT-52740 Verification Pending
2022-06-27 08:26:50 +00:00
sebastian.sellmair
da37d51707
[Gradle][MPP] Ensure that built archives are reproducible
...
This is done by setting up the archive tasks to
a) isReproducibleFileOrder = true
Which is kind of self-explanatory: The zip entries will be ordered
therefore the same binary will be produced
b) isPreserveFileTimestamps = false
This one ensures, that all timestamps in the zip file
will be equal no matter the build host, or the actual time of build
(or timestamps of files)
^KT-52740 Verification Pending
2022-06-27 08:26:49 +00:00
Dmitriy Novozhilov
53bbe805ce
[SAM with receiver] Fix maven plugin and IDE dependencies according new module structure
2022-06-27 08:11:34 +00:00
sebastian.sellmair
c16955ff3f
[MPP] SourceSetMetadataStorageForIde: Remove faulty 'cleanupStaleEntries'
...
^KT-52955 Verification Pending
This method over-aggressively removed libraries in the situation of
isolated KGP ClassLoaders or when a project enabled Gradles configuration
caching. This faulty cleanup is removed in anticipation
of a re-structured SourceSetMetadataStorageForIde in the near future.
2022-06-27 07:28:01 +00:00
Yahor Berdnikau
a85490ea7d
Add conventions only if they are still available
...
So Gradle could drop conventions in Gradle 8.0 release.
^KT-47047 Fixed
2022-06-26 22:43:28 +02:00
Yahor Berdnikau
2260893142
Add Gradle version specific accessor for BasePlugin configuration
...
^KT-47047 In Progress
2022-06-26 22:43:28 +02:00
Yahor Berdnikau
7630afd37d
Replace MPP 'fromPreset' convention with normal extension methods
...
^KT-47047 In Progress
2022-06-26 22:43:28 +02:00
sebastian.sellmair
096897492b
[kpm] :kgp-idea-proto: Use default 'embedded' configuration over custom 'shadows'
2022-06-24 07:48:44 +00:00
sebastian.sellmair
e158cf5dd2
[Gradle] copyZipFilePartially: Retain ZipEntry meta information
...
^KT-52741 Verification Pending
This change leads to reproducible outputs when extracting zips
using this function.
KT-52741 in particular was invoking this function
during metadata transformation rendering the extracted klibs
as different between builds.
2022-06-24 07:43:02 +00:00
Svyatoslav Scherbina
a3ee2d7349
Revert "[Gradle] Propagate offline mode to Native compiler"
...
This reverts commit 15a52f33
2022-06-23 18:09:36 +00:00