Hung Nguyen
aea693e309
KT-45777: Ignore faulty groovy-2.5.11 jar
...
Test: The following should pass
- Step 1: ./gradlew publish
- Step 2: ./gradlew publish compileTestKotlin -Pbootstrap.local=true
-Pbootstrap.local.path=/path/to/kotlin/build/repo
-Pkotlin.incremental.useClasspathSnapshot=true
2021-09-23 12:51:06 +03:00
Hung Nguyen
a6d0fcc676
KT-45777: Support compile avoidance
...
Test: Updated existing incremental compilation integration tests
2021-09-23 12:51:03 +03:00
Hung Nguyen
f400305cc6
KT-45777: Handle problematic classes when taking snapshots
...
There are certain classes that we are not yet able to take snapshots of,
either because the class is faulty, or there is a bug in our code.
For these classes, we will use a special snapshot and fall back to the
existing approach to compute classpath changes.
In the short run, we will update this list of cases as they arise. In
the long run, we will:
- Fix all cases that are caused by bugs in our code.
- Decide what to with the faulty jars in general and remove the list.
Test: The following should pass
- Step 1: ./gradlew publish
- Step 2: ./gradlew publish -Pbootstrap.local=true
-Pbootstrap.local.path=/path/to/kotlin/build/repo
-Pkotlin.incremental.useClasspathSnapshot=true
2021-09-23 12:47:51 +03:00
Ilya Gorbunov
40b5a7d449
Provide infix compareTo extension for Comparable<T> #KT-46423
2021-09-22 15:56:27 +00:00
Abduqodiri Qurbonzoda
eccd035881
Upgrade kotlinx-html-js version to 0.6.12 in gradle plugin tests because of #KT-24782
2021-09-22 12:56:12 +00:00
Alexander Dudinsky
c2715d26f1
Fix `NewMultiplatformIT' tests
2021-09-22 00:56:40 +03:00
Abduqodiri Qurbonzoda
08eaac7e56
Revert "Restore default parameter values in JS collection constructors"
...
This reverts commit 0f972f24
2021-09-21 12:11:25 +00:00
Abduqodiri Qurbonzoda
261d0c2783
Promote collection builders to stable #KT-47421
2021-09-21 11:25:28 +00:00
Abduqodiri Qurbonzoda
9a5a3bfdfb
Advance kotlin.browser and kotlin.dom packages deprecation level to ERROR #KT-39330
2021-09-20 12:28:07 +00:00
Dmitriy Novozhilov
0923d39215
[Build] Setup useFirForLibraries flag
2021-09-20 14:18:18 +03:00
Svyatoslav Scherbina
b656d67bd4
[Gradle, Native, IT] Workaround NativeEmbeddableCompilerJarIT on Apple silicon
...
The tests fail on Apple silicon because Gradle plugin doesn't provide
run tasks for macosArm64 (KT-48649).
Workaround this by making the tests execute link task instead of run.
2021-09-20 08:36:25 +00:00
Alexander Dudinsky
064cffc89c
Move mavenLocal() to the first place
2021-09-20 08:36:25 +00:00
Alexander Dudinsky
7db1b6fe01
Fix some tests in Gradle Integration Tests Native Mac Arm64
2021-09-20 08:36:25 +00:00
Alexander Dudinsky
c4a9d7b74d
Fix Gradle Integration Tests Native Mac x64
2021-09-20 08:36:24 +00:00
Alexander Dudinsky
85f985b9d1
Fix test name for multiModulesHmpp project
...
^KT-48696 Fixed
2021-09-20 11:28:08 +03:00
Alexander Dudinsky
165b80cf02
New test for multiModulesHmpp project
...
^KT-48696
2021-09-20 08:22:50 +00:00
Igor Laevsky
15668e2266
[WASM] Lower Unit to Void in order to mark statements with no result
2021-09-16 20:24:44 +03:00
Abduqodiri Qurbonzoda
bde055fe5c
Advance deprecation level of Float/DoubleArray contains, indexOf, lastIndexOf to ERROR #KT-28753
2021-09-16 19:38:40 +03:00
Abduqodiri Qurbonzoda
3ddc29363a
Remove deprecated Common synchronized and deprecate it in JS #KT-46101
2021-09-16 19:38:37 +03:00
Abduqodiri Qurbonzoda
7e1cd757fb
Advance max/min(By/With) deprecation level to HIDDEN #KT-38854
2021-09-16 19:38:35 +03:00
Abduqodiri Qurbonzoda
d9f8ce899a
Promote rotateLeft and rotateRight to stable
2021-09-16 19:27:21 +03:00
Abduqodiri Qurbonzoda
34a50e4e34
Promote regex splitToSequence to stable
2021-09-16 19:26:33 +03:00
Alexander Likhachev
453d263393
[Gradle, JVM] Add test that JVM target is untouched with no toolchain
2021-09-16 13:26:13 +00:00
Alexander Likhachev
aa52a60f45
[Gradle, JVM] Validate JVM targets even if compiler isn't called
...
Previously the validation was inconsistent allowing non-incremental builds without Kotlin sources to pass successfully with JVM target misconfiguraiton but fail incremental builds
#KT-48408 Fixed
2021-09-16 13:26:13 +00:00
Alexander Likhachev
2a77da4caa
[Gradle, JVM] Add test for KT-48408
2021-09-16 13:26:12 +00:00
Abduqodiri Qurbonzoda
815329df15
Remove private KTypeProjection.asString() that duplicates toString() logic
...
KT-30071 has been already fixed.
2021-09-16 11:39:07 +00:00
Svyatoslav Kuzmich
de7fa8c778
[Wasm][Stdlib] Add kotlin.js.JsExport annotation
2021-09-16 14:20:34 +03:00
Yahor Berdnikau
03db8e9c43
Fix 'kotlinOptions.jdkHome' deprecation message typo.
...
Use proper DSL example how-to set toolchain.
^KT-48768 Fixed
2021-09-16 11:51:32 +02:00
Abduqodiri Qurbonzoda
f1befc0108
Format Other_Uppercase/Other_Lowercase property as an identifier in docs
2021-09-15 17:31:52 +03:00
nataliya.valtman
130fd8311e
KT-48620: add readable output size metric into build scan
2021-09-14 17:56:11 +03:00
nataliya.valtman
b603f99863
KT-48620: Fix host name exception
2021-09-14 12:10:39 +03:00
Hung Nguyen
97e9e4efe7
KT-45777: Address review comments - use InputChanges instead of ChangedFiles
2021-09-14 12:10:39 +03:00
Hung Nguyen
9b71bd5bb4
KT-45777: Address review comments - update tests
2021-09-14 12:10:39 +03:00
Hung Nguyen
a48bf63630
KT-45777: Compute classpath changes for incremental Kotlin compile
...
Test: Updated unit tests + incremental compilation integration tests
2021-09-14 12:10:38 +03:00
Hung Nguyen
e3d7b7a30e
KT-45777: Refactor incremental compilation integration tests
...
to organize tested scenarios better and make it easier to see the
effects of the next change when the classpath snapshot feature is
enabled.
2021-09-14 12:10:38 +03:00
Yigit Boyar
95f990adab
Support line location information in KAPT for top level declarations
...
This CL fixes a bug in KAPT's MAP_DIAGNOSTIC_LOCATIONS flag where the
location mapping for top level elements didn't work.
I also needed to changes the Kapt3IntegrationTest to copy input files,
otherwise, it cannot map file paths since the mock project has no root
location.
Cleanup tmp folders in KAPT tests, update Kapt3IT test for new lines.
^KT-47934 Fixed
Test: KotlinKapt3IntegrationTests#testErrorLocationMapping
2021-09-14 10:48:37 +02:00
Yahor Berdnikau
ec3a6e7f02
Update java up-to-date test project to plugins api.
...
^KT-45747 In Progress
2021-09-14 10:42:52 +02:00
Yahor Berdnikau
6ad662dd66
Migrate ClassFileIsRemovedIT test to new test DSL.
...
Rename ClassFileIsRemovedIT.kt into SourceFileIsModifiedIT.kt.
^KT-45747 In Progress
2021-09-14 10:42:52 +02:00
Yahor Berdnikau
b71b7abc2b
Migrate JavaUpToDateIT test to new test DSL.
...
^KT-45747 In Progress
2021-09-13 22:50:09 +02:00
Viacheslav Kormushkin
8dd40cb398
KT-MR-4412: Fix CocoaPodsIT tests
...
#KT-48700
2021-09-13 15:56:34 +00:00
Mikhail Glukhikh
fc6403679a
Rename !USE_EXPERIMENTAL test directive to !OPT_IN
2021-09-10 16:29:16 +03:00
Mikhail Glukhikh
3febabe977
Use OPT_IN instead of EXPERIMENTAL in diagnostic names
2021-09-10 16:29:13 +03:00
Mikhail Glukhikh
ffbd574a08
Use -opt-in instead of -Xopt-in in comments and scripts
2021-09-08 23:43:55 +03:00
Igor Laevsky
6ca965af6f
WASM: Generate throw instruction instead of wasmThrow call
2021-09-08 19:56:33 +03:00
sebastian.sellmair
1076654bd9
[Gradle] Shared Native compilations: Don't explicitly add stdlib dependency
...
Shared Native Compilations seem to already implicitly add a
dependency on the stdlib. Adding it again will result in a
'library included more than once' warning.
^KT-46257 Verification Pending
2021-09-07 14:17:40 +00:00
sebastian.sellmair
8fe176f605
[Gradle] CommonizerHierarchicalIT: Add assertions for ^KT-46257
2021-09-07 14:17:40 +00:00
Philipp Smorygo
6abd3bf589
Fix CocoaPodsIT
2021-09-06 12:32:25 +00:00
Abduqodiri Qurbonzoda
97eb28144f
Introduce Common readln() and readlnOrNull() top-level functions #KT-48456
2021-09-05 15:31:11 +00:00
Mikhail Glukhikh
ed035d99ab
Migrate -Xopt-in to -opt-in in Gradle Kotlin scripts
2021-09-03 15:40:47 +03:00
Ilya Goncharov
ee1d2ecb4b
[Gradle, JS] Delete recursively tmp directory in up-to-date case
2021-09-03 14:10:58 +03:00