Ilya Gorbunov
ea9be01034
Fix maven references to stdlib-js
...
#KT-15940
2017-01-27 22:19:26 +03:00
Alexey Tsvetkov
1420bd1b33
Add Kotlin Gradle DSL to configure coroutines from build.gradle
2017-01-27 19:04:49 +03:00
Yan Zhulanow
bb0b70d27b
Kapt: Fix extending configurations in Gradle, create "main" configuration if it does not exist yet. Also fix checking kapt configuration dependencies, use allDependencies instead (KT-15814)
2017-01-27 02:01:04 +09:00
Alexey Tsvetkov
54d0a6b8e4
Minor: fix snapshot version used in kapt test kt15001
2016-12-19 22:55:26 +03:00
Alexey Tsvetkov
69d1ee7b11
Run kapt with daemon
2016-12-19 22:55:26 +03:00
Alexey Tsvetkov
865c6d887c
Report messages from kapt using MessageCollector
...
This allows to print messages when daemon is used.
System out is not copied to daemon client,
because multiple compilations can occur in parallel.
2016-12-19 22:55:25 +03:00
Alexey Tsvetkov
c1812d7d92
Move IC tests to compiler
...
Fixing IC after moving it from Gradle to the compiler in commit f40a3eff20
2016-12-19 22:55:19 +03:00
Alexey Tsvetkov
c7c2a93d1f
Use daemon when compiling Kotlin to JS
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
5082e8f236
Add a way to customize compiler file in build.gradle
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
75133bdfb9
Implement fallback strategies
2016-12-19 22:46:12 +03:00
Yan Zhulanow
568523b065
Kapt3: Set correct compiler options when the annotation processing classpath is empty (KT-15146). Disable annotation processing in Javac task a bit earlier
2016-12-19 21:18:17 +03:00
Alexey Tsvetkov
9fc3d0838e
Fix references from test to main in Gradle JS plugin with default output file
2016-12-17 21:46:13 +03:00
Alexey Tsvetkov
b14a0d543f
Add references from test to main in multiplatform test project
2016-12-17 21:32:36 +03:00
Alexey Tsvetkov
3af0840512
Test coroutines setting in Gradle plugin
2016-12-15 23:58:32 +03:00
Mikhail Zarechenskiy
c0a3d3568a
Add test on using kotlin.coroutines property in gradle
2016-12-15 23:58:30 +03:00
Alexey Tsvetkov
c31f91c28a
Introduce Gradle multiplatform plugin
2016-12-15 16:43:35 +03:00
Alexey Tsvetkov
34b740e2f7
Minor: add debug test util
2016-12-15 16:43:35 +03:00
Alexey Tsvetkov
93fa27a195
Provide default output JS file in Kotlin Gradle plugin
2016-12-15 16:43:35 +03:00
Yan Zhulanow
e3db014c27
Kapt3: Allow to use ':' in annotation processor option value (KT-15139)
2016-12-09 20:29:34 +03:00
Yan Zhulanow
5f0d270e9e
Kapt3: Clear javac's boot classpath (KT-15001)
2016-12-09 20:28:52 +03:00
Yan Zhulanow
be26246a3e
Noarg: Add a kotlin-noarg Gradle plugin
2016-12-09 20:01:12 +03:00
Yan Zhulanow
ed7c38fb96
Allopen: Add allopen Gradle subplugin
2016-12-09 20:00:57 +03:00
Sergey Mashkov
2ca336fb32
KT-15120 Gradle JS test compile task doesn't pick up production code
2016-12-06 16:51:15 +03:00
Alexey Tsvetkov
7b3bc0235b
Fix JS compiler jar search
...
#KT-15127 fixed
2016-12-06 16:07:43 +03:00
Yan Zhulanow
e4de840b8a
Kapt3: Add friend paths to kapt tasks
2016-12-05 19:57:52 +03:00
Alexey Tsvetkov
72fdb77628
Minor: fix js runtime error in gradle test
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
94b0f3839e
Minor: set apiVersion equal to languageVersion in gradle test
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
c15e878808
Minor: remove inner type alias from gradle test
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
f70ba8b18d
Gradle: run k2js out-of-process if Gradle >= 3.2 is used
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
df910a7801
Gradle: load builtins from dependencies
...
#KT-14798 Fixed
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
fa6ed71fbd
Fix running gradle tests on windows
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
2c1699bc89
Minor: remove js-library dependency from jvm module
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
7c16d086aa
Groundwork for using IC without Gradle
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
7c1ebba57a
Minor: do not print index in parametrized test name
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
78c115523c
Refactoring: move all IC logic to IncrementalJvmCompilerRunner
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
b7d97a3aa2
Do not remove annotations.txt (kapt1) file before kotlin compiler is called
...
#KT-14250 fixed
Before this change the following could happen:
0. Successful build.
1. Only java files are changed.
2. CompileKotlin task starts because java files are also input files for kotlin.
3. annotations.txt file is deleted, but kotlin compiler is not called, so it is not regenerated.
4. Javac fails.
2016-10-21 16:22:38 +03:00
Alexey Tsvetkov
01e0bc8d5e
Ensure task build directory always exist
...
#KT-14253 fixed
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
d79679e647
Provide a way to force stdout output in Gradle tests
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
229e63f5c5
Minor: rename file its name is the same as class it contains
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
a0fa69c000
Do not check the content of JS file in Gradle test
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
0097e14ba1
Fix test dependencies for gradle integration tests
2016-10-14 15:55:24 +03:00
Yan Zhulanow
f15f90a719
Kapt: Support apt options (KT-13984)
...
(cherry picked from commit b566a37)
2016-10-07 16:28:31 +03:00
Yan Zhulanow
49926fda36
Use LightParameter from Kotlin light classes to add an inner class constructor parameter instead of calling addParameter(name, type). The latter tries to load an icon :( (KT-13798)
...
(cherry picked from commit cc86d79)
(cherry picked from commit de55de2)
2016-10-07 16:28:21 +03:00
Alexey Tsvetkov
d293138c28
Refactoring: use same module name as Intellij
2016-10-05 22:50:46 +03:00
Alexey Tsvetkov
0d8fa69760
Refactoring: move gradle tests imported from jps to separate dir
...
This will allow skipping jps tests when running all tests in directory from Intellij
2016-10-05 22:50:46 +03:00
Alexey Tsvetkov
1cc423b163
Refactoring: move gradle integration tests to separate module
2016-10-05 22:50:46 +03:00