Ilya Chernikov
0f41dc814f
Switch many common tasks defined in buildSrc to lazy creation
...
also refactor some locally defined tasks to the creation avoidance API
2019-08-21 20:20:08 +02:00
Vadim Brilyantov
01a05a5495
Move daemon jar from compiler
2019-05-17 15:51:52 +03:00
Vadim Brilyantov
ced973b707
Introduce new Kotlin Daemon without RMI abstraction
2019-05-17 15:51:51 +03:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Rene Groeschke
6bef27e1e8
Forward stdout and stderr logger of out of process compiler through gradle logging
...
Issue #KT-30596 Fixed
2019-04-11 20:36:53 +03:00
Vyacheslav Gerasimov
a42f607ecf
Build: Fix artifacts signing for maven central
...
With gradle > 5.0 `publish()` helper call should be done before
`noDefaultJar()` or any other artifact hacks, otherwise singing plugin doesn't sign any jars
2019-02-27 13:21:17 +03:00
Mikhael Bogdanov
a122cba862
Switch Kotlin project to jvm-target 1.8
...
#KT-29405
2019-01-31 07:43:05 +01:00
Sergey Rostov
f35185b261
Build: remove explicit dependencies to org.jetbrains.annotations
2019-01-28 13:43:08 +03:00
Sergey Rostov
883970fadb
Add explicit dependencies to nullable annotations
2018-12-26 09:07:06 +03:00
Alexey Tsvetkov
a41c2d759a
Avoid catching exceptions from workers in GradleKotlinCompilerRunner
...
Exceptions were catched in `KotlinCompilerRunner.runCompiler`.
When the method from superclass is not used in
`GradleKotlinCompilerRunner`, the superclass does not make much sense
anymore, so I turned it into util object.
2018-11-14 11:41:43 +03:00
Alexey Tsvetkov
37dfe2b608
Use Workers API for NMPP tasks
...
This change enables parallel execution of compile tasks in NMPP projects
within a subproject.
#KT-28155 In Progress
2018-11-14 11:41:43 +03:00
Sergey Rostov
ce96c1b9a8
jps, daemon: fix javascript inline functions tracking
...
inline function hash should computed after compilation
2018-06-08 09:46:50 +03:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Alexey Tsvetkov
ceb243c096
Don't pack kotlin-daemon-client and daemon-common into kotlin-compiler-runner jar
2018-03-14 13:29:32 +03:00
Alexey Tsvetkov
c736f229ce
Always depend on runtimeJar of kotlin-daemon-client
2018-03-14 13:29:32 +03:00
Yan Zhulanow
34d1611ed4
Add Pill support to compiler and IDE modules
2018-03-02 03:15:17 +03:00
Ilya Chernikov
4eb557724c
Convert compiler projects to the new intellij deps
2018-01-30 17:06:13 +03:00
Ilya Chernikov
a4f28cd94f
Make all dependencies to idea sdk intransitive
2018-01-30 17:06:11 +03:00
Denis Zharkov
0f74bb4a7a
Get rid of compile dependency to 'compiler-embeddable' from :idea
...
Previously, it's been added transitively from :kotlin-compiler-runner
as a compile dependency instead of runtime as it's declared in compiler-runner
2018-01-18 11:39:34 +03:00
Ilya Chernikov
050403d15b
Use rewriteDeps task on the projects with runtime dependency on embeddable compiler...
...
which are using shaded dependencies
2017-10-16 21:48:35 +02:00
Ilya Chernikov
1862c78bdc
Fix projects for gradle integration tests
2017-09-20 11:51:44 +02:00
Ilya Chernikov
46884bec84
Add missing artifact, fix some deps and publishing
2017-09-20 11:51:38 +02:00
Alexander Podkhalyuzin
3f8170d369
Clean idea files generated on the gradle import, add them to .gitignore
2017-09-19 23:58:27 +02:00
Ilya Chernikov
27968c8e13
Set proper jvmTarget for projects
2017-09-19 21:37:27 +02:00
Ilya Chernikov
deda50dbbb
Continue switching projects to improved dsl: sourceSets and test running
2017-09-19 21:37:26 +02:00
Ilya Chernikov
b6c255cea5
Refactor: project renaming, using improved build dsl
2017-09-19 21:37:22 +02:00
Ilya Chernikov
96d5e0bb21
Refactoring - renaming projects, applying sourceSets DSL
2017-09-19 21:37:18 +02:00
Ilya Chernikov
513ab08edd
Refactor and clean preloader project
2017-09-19 21:37:16 +02:00
Ilya Chernikov
61dfb75e0e
Implement Gradle Kotlin DSL build
2017-09-19 21:37:06 +02:00
Alexey Andreev
479148f7e0
Run JS DCE gradle task in a separate process
2017-06-29 10:32:30 +03:00
Mithun Sasidharan
21849fe466
Fixed a minor spelling mistake in a comment
...
Fixed a minor spelling mistake in a comment
2017-06-02 08:57:00 +05:30
Ilya Chernikov
9d2ae54d2c
Introduce other JVM options inheritance for daemon
2017-05-24 10:52:38 +02:00
Alexander Udalov
861d9a1620
Use null instead of CompilerMessageLocation.NO_LOCATION in MessageCollector
2017-04-11 12:08:31 +03:00
Alexey Tsvetkov
56182746b5
Fix printing daemon client messages
...
Fixing the problem introduced in the commit 9819de1abd :
the daemon client messages should be reported
when the debug log level is enabled
or when the connection not successful
#KT-17199 fixed
2017-04-06 15:53:29 +03:00
Alexey Tsvetkov
9d95c841a6
Use connect-and-lease when using daemon in JPS & Gradle
...
Relates to KT-15562 "Service is dying".
This commit includes multiple changes:
1. JPS & Gradle daemon clients are refactored to use `connectAndLease` from `KotlinCompilerClient`.
`connectAndLease` was introduced in previous commits
2. `withKotlin` was removed because `connectAndLease` already covers retrying on connection error
3. Gradle flag files creation is changed:
* client-alive flag file lives as long as Gradle instance lives,
* session-alive flag file lives until the end of a build.
2017-03-24 19:03:36 +03:00
Alexey Tsvetkov
9819de1abd
Improve daemon client debug reports
...
Before this change a daemon client debug messages were printed
only when the client could not connect and the 'kotlin.daemon.verbose'
system property was set up.
Now messages are printed if the debug logging is enabled and
the 'kotlin.daemon.verbose' is set up.
2017-03-24 19:03:32 +03:00
Ilya Chernikov
7c0cdf90cf
Move daemon session flag files to daemon discovery dir by default + minor fixes:
...
- Move flag files from the temp dir, because right now JPS cleans temp dir on each build start. Should fix KT-15707, also may affect KT-15562.
- change compiler runner to allow the fix above
- Fix flag file name filtering
- Fix ifAlive handling on the new compile method in the daemon.
2017-01-28 15:36:06 +01:00
Alexey Tsvetkov
99c72b6dff
Refactor JPS daemon client
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
434f33f9e9
Minor: remove default value of retryOnConnectionError parameter
2016-12-19 22:55:28 +03:00
Alexey Tsvetkov
69d1ee7b11
Run kapt with daemon
2016-12-19 22:55:26 +03:00
Alexey Tsvetkov
69e8cf6a25
Compile multiplatform projects with daemon
2016-12-19 22:55:24 +03:00
Alexey Tsvetkov
51a8f6ee4f
Implement server side IC
2016-12-19 22:55:21 +03:00
Alexey Tsvetkov
f411bb0b4b
Refactoring: extract withDaemon
2016-12-19 22:55:21 +03:00
Alexey Tsvetkov
9654607f42
Refactoring: pass MessageCollector, OutputItemsCollector in CompilerEnvironment
2016-12-19 22:55:20 +03:00
Alexey Tsvetkov
0be4299c8a
Refactoring: extract JPS specific code from compiler-runner
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
eac76915be
Minor: remove ImmutableMapBuilder reference from CompilerOutputParser
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
c8394cd0cc
Convert CompilerOutputParser: convert to kotlin
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
d587c3091c
Convert CompilerOutputParser: rename file
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
896d81143c
Introduce compiler-runner module
2016-12-19 22:46:12 +03:00