Sebastian Sellmair
bd0f54564d
[Gradle] Move KotlinTargetHierarchy/Android configuration from KotlinAndroidTarget to KotlniTargetHierarchyDsl
...
^KT-58209 Verification Pending
2023-04-25 15:08:29 +00:00
Sebastian Sellmair
16369bc008
[Gradle] Rename KotlinTargetHierarchy.ModuleName to .SourceSetTree
...
^KT-58209 Verification Pending
2023-04-25 15:08:29 +00:00
Sebastian Sellmair
1d23d7de17
[Gradle] KotlinTargetHierarchyBuilder: Add documentation to 'common' function
...
^KT-58209 Verification Pending
2023-04-25 15:08:29 +00:00
Yahor Berdnikau
50f5fadfd8
Expose task input to control jvm target validation mode
...
^KT-56971 Fixed
2023-04-25 10:28:29 +00:00
Yahor Berdnikau
f7522ec796
Better approach to handle 'moduleName' in project level DSL
...
Now project level DSL only configures base part of module name, which
latter is enhanced by Kotlin compilation suffix. In this case
'KotlinCompilation.moduleName' is not used.
Additionally,
'KotlinJvmTask.moduleName' usage was deprecated in favor of
'compilerOptions.moduleName'. Though warning is only produced in case
project is using 'org.jetbrains.kotlin.jvm' or
'org.jetbrains.kotlin.android' plugins.
- 'moduleName' is always required to be non-null.
^KT-57688 Fixed
2023-04-12 06:16:36 +00:00
Sebastian Sellmair
1bbd135de8
[Gradle] Remove DefaultValues.prettyDefaultValue in favor of stripping OPTIONS_PACKAGE_PREFIX
...
KTIJ-24976
2023-04-06 16:03:05 +00:00
Sebastian Sellmair
c5e154a325
[Gradle] KotlinJvmCompilerOptions: Use JvmTarget.DEFAULT as default value for jvmTarget
...
KTIJ-24976
2023-04-06 16:03:01 +00:00
Sebastian Sellmair
a7a689841f
[Gradle] Convert KotlinTargetHierarchy.ModuleName to regular class (instead of data)
...
^KT-56654 Verification Pending
2023-04-03 11:24:19 +00:00
Sebastian Sellmair
b5d188d44e
[Gradle] Remove suspend functions from KotlinTargetHierarchyBuilder API
...
^KT-56654 Verification Pending
2023-04-03 11:24:18 +00:00
Sebastian Sellmair
028780ae97
[Gradle] Introduce HasProject and implement HasMutableExtras in public entities
...
^KT-34662 Verification Pending
2023-04-03 11:24:10 +00:00
Sebastian Sellmair
40603bbda7
[Gradle] Update kotlin-gradle-plugin-api.api
...
KT-34662
2023-04-03 11:24:08 +00:00
Sebastian Sellmair
78751dcb55
[Gradle] Introduce KotlinTargetHierarchy.ModuleName as public concept
...
KT-34662
2023-04-03 11:24:06 +00:00
Sebastian Sellmair
5fe6e3edbb
[Gradle] KotlinTargetHierarchy.Module: Respect configuration from Android
...
KT-34662
2023-04-03 11:24:05 +00:00
Sebastian Sellmair
0f657b8a74
[Gradle] KotlinTargetHierarchyBuilder: Deprecate filterCompilations
...
KT-34662
2023-04-03 11:24:03 +00:00
Alexander Udalov
37c776b233
Add JVM target bytecode version 20
...
#KT-57495 Fixed
2023-03-30 19:05:41 +00:00
Ivan Kylchik
6bce668cac
Introduce language version 2.1
2023-03-21 20:02:42 +00:00
Ilya Goncharov
63e27a9713
[Gradle, JS] Implement own IncrementalSyncTask
2023-03-14 11:16:20 +00:00
Yahor Berdnikau
5ddd60a015
Add '-progressive' option into Gradle compiler options DSL
...
^KT-53923 Fixed
2023-03-07 17:32:20 +00:00
Oleg Yukhnevich
dddd5a57c5
fix api dumpp
2023-03-07 13:57:35 +01:00
Oleg Yukhnevich
b240b8452a
support WASM in KotlinTargetHierarchyBuilder
2023-03-07 13:57:35 +01:00
Yahor Berdnikau
174f39aa46
Add '-opt-in' option into Gradle compiler options DSL
...
^KT-53924 Fixed
2023-03-07 09:40:09 +00:00
Sebastian Sellmair
6c618ae5cc
[Gradle] Add KotlinVersion.DEFAULT
...
KT-56210
2023-03-01 16:30:41 +00:00
Yahor Berdnikau
a49906f4e4
Bump AGP dependency version to 4.2.2
...
^KT-56454 Fixed
2023-02-24 09:17:47 +00:00
Yahor Berdnikau
96316a4016
Generate KotlinNativeCompilerOptions Gradle DSL
...
^KT-53108 In Progress
2023-02-22 13:02:59 +00:00
Anton Lakotka
5b0a9c7a55
[Gradle] Update kotlin-gradle-plugin-api.api
...
^KT-55881 Verification Pending
2023-02-21 10:15:37 +00:00
Anton Lakotka
1b3b83755e
[Gradle] Add withSourcesJar to gradle dsl
...
* Each target can be configured to either publish or not its sources.
* For convenience withSourcesJar available also on kotlin multiplatform
extension level. It then calls `withSourcesJar` for each target.
^KT-55881 In Progress
2023-02-21 10:15:36 +00:00
Dmitriy Novozhilov
66544a4e00
Switch kotlin version to 1.9
...
with appropriate fixes in testdata, tests and other
places.
2023-01-30 09:29:55 +00:00
Stanislav Ruban
4523535545
Deprecate -Xuse-k2 compiler flag in Gradle DSL
...
^KT-56239 Fixed
2023-01-27 12:42:50 +00:00
Sebastian Sellmair
294014a85d
[Gradle][Minor] KotlinTargetHierarchyDsl: Fix doc pointing to old function
...
KT-56204
2023-01-26 15:37:23 +00:00
Sebastian Sellmair
ca859c0132
[Gradle] KotlinTargetHierarchy: Change naming from 'any' to 'with' prefix
...
^KT-56204 Verification Pending
2023-01-26 15:37:23 +00:00
Artem Kobzar
71486a321c
[K/JS] Add support of compilation with ES-classes
2023-01-17 18:14:17 +00:00
Mikhail Glukhikh
3dc05f4ec5
Introduce language version 2.0 and associate K2 compiler with it
2023-01-16 18:12:55 +01:00
Yahor Berdnikau
f90b447c7f
Add task to generate Kotlinlang reference
...
Based on the template from
https://github.com/JetBrains/kotlin-web-site/tree/master/dokka-templates .
Template itself is updated frequently and should be added by CI
configuration.
Generated reference has versioning support. Older generated references
should put into:
<project_dir>/<build_dir>/dokka/kotlinlangDocumentationOld
^KT-55520 Fixed
2023-01-13 16:16:09 +00:00
Yahor Berdnikau
d3ecb9a75f
Allow to reference Gradle API javadoc in generated documentation
...
^KT-55520 In Progress
2023-01-13 16:16:09 +00:00
Yahor Berdnikau
4de60879f0
Explicitly enable Dokka javadocs generation
...
Actually we don't need javadoc generation for our internal stuff like
':kotlin-gradle-plugin'. But ':kotlin-gradle-plugin-api' is a public api
and should have properly generated javadocs.
^KT-55520 In Progress
2023-01-13 16:16:08 +00:00
Pavel Kirpichenkov
40f7360694
[cinterop] Deprecate CInteropSettings#getDependencyConfigurationName
...
KT-55908
KT-54974
2023-01-13 14:24:18 +00:00
Stanislav Erokhin
37ab139139
[Gradle][MPP] Deprecate several K/N targets
2023-01-11 17:52:28 +00:00
Anton Lakotka
0e3be164c7
[Gradle] Update kotlin-gradle-plugin-api after removing...
...
... `getRelatedConfigurationNames` override.
This property shouldn't be used in user scripts. It supposed to be
internal.
2023-01-11 12:32:58 +00:00
Anton Lakotka
eaa3eadc9e
Remove metadataConfiguration for source set and reuse
...
resolvableMetadataConfiguration
2023-01-11 12:32:55 +00:00
Anton Lakotka
35b2672436
[Gradle] Deprecate scoped metadata dependencies
...
Scoped metadata dependencies are not needed since
metadata dependencies are used only for metadata compilation. Metadata
is not consumed at runtime. Therefore, scoped metadata dependencies
are not required.
^KT-55312
2023-01-11 12:32:55 +00:00
Yahor Berdnikau
b9aac83135
Add Kotlin Gradle plugins bom
...
This should help with failed variants selection between different Kotlin
Gradle plugins versions.
^KT-54691 In Progress
2023-01-05 18:26:27 +00:00
Ilya Goncharov
a0211fc5fe
[Gradle, JS] Deprecation of BOTH and LEGACY consts
...
^KT-55593 fixed
2023-01-03 12:47:11 +00:00
Alexander Udalov
3c4b5529af
Update year to 2023 in COPYRIGHT_HEADER.txt
...
This commit is the result of changing the year to 2023 in
COPYRIGHT_HEADER.txt and running all `generate*` tasks in
`generators/build.gradle.kts`.
2023-01-02 22:52:15 +01:00
Yahor Berdnikau
860d3fda95
Undeprecate 'kotlinOptions' DSL
...
'@ReplaceWith' is not that flexible in this case and proper IDE support
required for smooth migration. After such migration in IDE will be added
- deprecation should be restored.
^KT-54399 Fixed
2022-12-16 17:25:49 +00:00
Anton Lakotka
36591ab8a0
[Gradle] Replace toLowerCase/toUpperCase with ASCII-only variants
...
^KT-38712 Verification Pending
2022-12-12 10:47:44 +00:00
Anton Lakotka
1d041b7ef4
[Gradle] Replace deprecated String::capitalize with capitalizeAsciiOnly
...
This should prevent issues when ascii characters are uppercased or
lowercased on users machines with their locales.
For example in Turkish locale:
* 'i' uppercases to 'İ'
* 'I' lowercases to 'ı'
^KT-38712 Verification Pending
2022-12-07 20:39:26 +00:00
Anton Lakotka
98678bce0a
[Gradle] Remove metadata dependencies transformation for runtimeOnly
...
Kotlin Metadata KLIBs cannot be used in runtime thus
we don't have to transform composite JARs that contain
metadata per source set for runtimeOnly dependencies scopes.
^KT-55230 Fixed
2022-12-06 12:49:27 +00:00
Sebastian Sellmair
f8919533dc
[Gradle] Update kotlin-gradle-plugin-api.api
...
KT-55218
2022-12-06 08:35:17 +00:00
Sebastian Sellmair
8bea195d68
[Gradle] KotlinTargetHierarchyBuilder: Use any prefix for target functions
...
... to disambiguate with target preset functions
KT-55218
2022-12-06 08:35:16 +00:00
Andrey Uskov
41ff283856
Don't call File.getCanonicalPath in KGP
...
Relates to KT-54579.
2022-12-04 18:49:30 +00:00