Stanislav Erokhin
f77ba914c7
[MERGE] Kotlin/Native history merged into kotlin/master
2021-02-26 15:30:58 +01:00
Vasily Levchenko
905c0c3dd3
[build] version of kotlin native stored in resouces
2021-02-26 12:51:51 +01:00
Alexander Udalov
2e2caae05c
Extract control flow analysis to separate module
...
Extract a service interface out of ControlFlowInformationProviderImpl
and register its implementation in two "leaf" modules: 'cli',
'idea-core'.
This improves parallel build, since a lot of modules depend on
'frontend' but only these two modules reference the implementation and
thus depend on the full CFA implementation now.
2021-02-24 17:17:04 +01:00
Vasily Levchenko
3867cf6ef5
[build] switch to kotlin-build-gradle-plugin:0.0.25
2021-02-24 11:07:14 +01:00
Alexander Udalov
49fc1b9e3e
Build: enable -Werror for several modules
2021-02-18 12:14:09 +01:00
Alexander Dudinsky
a3fa6c6d13
Publish artifacts needed for the kotlin-gradle-plugin in kotlin-ide repository
2021-02-18 11:51:32 +03:00
sebastian.sellmair
4500b6ce74
[Commonizer] Implement :native:kotlin-klib-commonizer:api with support for library commonization
...
- Implement new Gradle module ':native:kotlin-klib-commonizer'
- Implement new NativeKlibCommonize task
- Implement CommonizerTarget.identityString
2021-02-17 19:24:54 +00:00
Dmitriy Novozhilov
54636f1af7
Enable -Werror in :compiler:frontend module
2021-02-12 14:50:47 +03:00
Dmitriy Novozhilov
0c4bca4bde
[FIR] Fix warnings in FIR modules and enable -Werror in them
2021-02-12 14:50:46 +03:00
Ilya Chernikov
d64f7dd8c7
Revert "Add :kotlin-scripting-compiler.test to modules with disabled -Werror flag"
...
This reverts commit 21f022de
2021-02-10 08:33:15 +01:00
Mikhael Bogdanov
21e9f67322
Add JvmTargetXOnJvm15 test suites
2021-02-09 12:34:55 +01:00
Yan Zhulanow
0d1f493b6c
Remove unneeded artifacts for Kotlin IDE plugin
2021-02-05 15:53:39 +09:00
Alexander Udalov
496d857db1
Add kotlin.build.disable.werror to disable -Werror locally
...
This can be placed, for example, in `local.properties` to temporarily
disable `-Werror` in compiler/stdlib/plugin/test modules during
development.
2021-02-02 21:47:33 +01:00
Ilya Gorbunov
a16aaa3824
Setup publications with MPP Gradle metadata for kotlin-test library
...
Move publication configuration from individual platform specific
kotlin-test- modules to the root module.
KT-40225
2021-02-01 16:50:05 +03:00
Dmitriy Novozhilov
21f022dec2
Add :kotlin-scripting-compiler.test to modules with disabled -Werror flag
2021-01-29 20:01:01 +03:00
Mikhael Bogdanov
6a29097a8c
Remove obsolete dependency for dx
2021-01-29 17:47:37 +01:00
Dmitriy Novozhilov
0769157a16
Revert "Revert "Build: enable -Werror in stdlib/core/compiler/plugins modules""
...
This reverts commit 1300ec3e
2021-01-29 14:57:08 +03:00
Dmitriy Novozhilov
bc3b791cd8
[TMP] Remove :kotlin-coroutines-experimental-compat module
2021-01-28 13:19:34 +03:00
Dmitriy Novozhilov
1300ec3e45
Revert "Build: enable -Werror in stdlib/core/compiler/plugins modules"
...
This reverts commit 3be62dfc
2021-01-28 13:19:34 +03:00
Dmitriy Novozhilov
3b97835b74
Disable -Werror for :compiler:cli module
...
This is needed because we should compile cli with target version
(which is deprecated now) for compatibility with gradle
2021-01-28 13:19:32 +03:00
Dmitriy Novozhilov
73e6d42224
[Test] Update CLI tests according to new default language version
2021-01-28 13:19:25 +03:00
scaventz
1654dfb3bf
Upgrade Apache Ant dependency to 1.10.7
2021-01-25 04:28:32 -08:00
Nikolay Krasko
293f2f9950
Build: Replace Bintray with Space for kotlin-dependencies repository (KTI-466)
2021-01-24 15:04:41 +03:00
Mikhail Glukhikh
7934853c8e
Set ABI stability to JVM modules which are built with FIR
2021-01-22 18:11:57 +03:00
Vyacheslav Gerasimov
a0ad85e20d
Build: Disable caching of test tasks
...
Until `KTI-464 Test tasks with failed tests are cached` is resolved
2021-01-19 14:19:05 +03:00
Mikhail Glukhikh
795bd26eaf
FIR bootstrap: don't use -Werror in useFIR mode
2021-01-18 08:28:05 +03:00
Nikolay Krasko
5838357e61
Extract long project wizard tests to separate TC configuration (KTI-422)
2021-01-15 16:55:41 +03:00
Sergey Bogolepov
2dabfbc613
Bump Native version.
...
The new one has `cacheableTargets` property
in konan.properties that is now required
for native caches support in Gradle.
2021-01-15 13:41:15 +07:00
Nikolay Krasko
a0d42b5da6
Build: Download ktor from maven central (KTI-445)
...
#KTI-445 Fixed
2021-01-14 21:24:48 +03:00
Alexander Udalov
3be62dfc89
Build: enable -Werror in stdlib/core/compiler/plugins modules
...
Exclude modules where there are still warnings in an explicitly declared
variable `tasksWithWarnings`.
Also remove "-progressive" from compiler arguments in modules which are
built with non-latest language version, as the warning about that leads
to an error with -Werror.
2021-01-13 19:34:24 +01:00
Alexander Udalov
07ce991b3f
Build: minor, remove extra newlines in log
2021-01-13 19:34:24 +01:00
Simon Ogorodnik
7c8a67b20b
Make useFir build property set -Xuse-fir flag
2021-01-13 18:14:21 +03:00
Alexander Udalov
41c4693ebf
Build: remove obsolete -Xir-binary-with-stable-abi
...
It's no longer needed after eef06cded3 and 3e3ffee2a0 .
2021-01-04 18:10:43 +01:00
Nikolay Krasko
0918e73dff
Move wasm tests to JS tests configuration (KTI-419)
2020-12-21 19:59:13 +03:00
Dmitriy Novozhilov
a276d05917
[Test] Generate FIR tests with new infrastructure in :analysis-tests module
2020-12-21 18:34:56 +03:00
Dmitriy Novozhilov
537e4f0bb4
[Test] Move existing fir tests on old infrastructure to :legacy-fir-tests module
2020-12-21 18:34:55 +03:00
Dmitriy Novozhilov
8a5fc2ad29
[Build] Split :tests-mutes package to common and TC integration parts
...
This is needed because of following problem:
- :tests-mutes has `implementation` dependency on khttp library
- khttp has dependency on spek-junit-platform-engine library
- :tests-common had `testCompile` dependency on :tests-mutes which
added spek library as as a dependency to all modules which depend
on :tests-common, including :tests-common-new
Then, if project is configured with JPS then if user tries to run all
tests in directory in module which uses JUnit 5 (like :tests-common-new)
then spek library will be added to classpath and junit runner takes
some platform extension from it which causes NoSuchMethodException
because spek library was compiled against outdated JUnit 5 version
and current version doesn't have some API.
So splitting :tests-mutes for two parts fixes this issue, because common
part (:compiler:tests-mutes) no longer depends on khttp, so spek
library doesn't spreads to all modules
2020-12-16 19:52:26 +03:00
Dmitriy Novozhilov
d7224ad63e
[Build] Add generating and running new compiler tests to gradle
2020-12-16 19:52:23 +03:00
Vyacheslav Gerasimov
1bc369c63c
Build: Enable caching for test task with enabled test distribution
...
#KTI-112
2020-12-10 22:02:24 +03:00
Mikhael Bogdanov
b8903f8cf8
Enable kotlin-annotation-processing-cli tests on TC
2020-12-07 12:38:12 +01:00
Mikhael Bogdanov
8a00470b40
Enable kotlin-annotation-processing-base tests on TC
2020-11-30 10:06:22 +01:00
Sergey Bogolepov
29bed39a54
Bump to native version version with watchos_x64 enabled
2020-11-30 14:01:12 +07:00
Dmitriy Novozhilov
986bdd1099
Build: replace usages of kotlin.build.useIR with kotlinBuildProperties.useIR
2020-11-17 18:14:09 +03:00
Dmitriy Novozhilov
1a3727a17c
Build: advance kotlin-build-gradle-plugin version in build files
2020-11-17 18:14:08 +03:00
Yan Zhulanow
d376585821
IDE dependencies: Publish kotlin-coroutines-experimental-compat library
2020-11-17 10:29:21 +03:00
Mikhail Glukhikh
9de244515e
Upgrade coroutines: 1.3.7 -> 1.3.8
2020-11-16 14:29:58 +03:00
Yan Zhulanow
65d8e5a615
Don't publish kotlin-dist-for-ide in publishIdeArtifacts as it's now published alone
2020-11-11 18:12:26 +03:00
Svyatoslav Kuzmich
c1b73f5fee
[Wasm] Diable Wasm IR tests on Windows TeamCity
2020-11-11 14:30:22 +03:00
Vyacheslav Gerasimov
3feff16a77
Cleanup 193 compatibility fixes
2020-11-11 14:28:54 +03:00
Alexander Gorshenev
ade46ef808
Update Kotlin/Native: 1.4.30-dev-17200
2020-11-11 14:27:45 +03:00