Alexey Tsvetkov
4ceec37bfe
Refactor version checking
2016-09-05 14:52:11 +03:00
Alexey Tsvetkov
eea01f468b
Introduce KotlinGradleBuildServices that is created once per build
2016-09-05 14:52:07 +03:00
Alexey Tsvetkov
7fa32a886d
Minor: remove outdated TODO
2016-09-05 14:52:04 +03:00
Alexey Tsvetkov
3922ebcd4b
Refactor loading kotlin version in gradle plugin
2016-09-05 14:51:56 +03:00
Yan Zhulanow
1a1eb7dcfa
KT-12303 Pass only relevant annotations to annotation processors
...
(cherry picked from commit 01742aa)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
1b05c5fb0c
Kapt, Gradle: The first dependency is kotlin-annotation-processing (we reuse the old configurations from kapt)
...
(cherry picked from commit f95a3d1)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
46367d720c
Kapt: Gradle integration tests for the new kapt
...
(cherry picked from commit 467d0fd)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
b13db88e6f
Kapt: Make javaCompile parameter in KotlinGradleSubplugin non-null
...
(cherry picked from commit 9686344)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
04db25a190
Kapt Gradle plugin: use the old configuration names
...
(cherry picked from commit 6e72dc8)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
407af3a0e5
Kapt: Gradle plugin for the new kapt
...
(cherry picked from commit f4fc8f1)
2016-08-29 16:31:16 +03:00
Alexey Andreev
996c1b6f87
JS: add support of JS module kind to Gradle task. Add tests of support of module kind to Maven tests
2016-08-23 17:12:37 +03:00
Alexey Tsvetkov
ebf3c9404a
Fix incremental build with kapt and gradle 2.14
...
#KT-13179 fixed
2016-08-22 19:05:06 +03:00
Ilya Chernikov
e79d8014fa
Add support for script templates settings in gradle plugin, add kts files to source sets
2016-08-11 09:11:11 +02:00
Alexey Tsvetkov
4702842afd
Revert replacing convention with extension
...
It seems that was wrong
2016-08-10 22:28:21 +03:00
Alexey Tsvetkov
791c7fe6e6
Invalidate jar cache at the end of a Gradle build
...
#KT-12912 fixed
2016-08-10 22:28:20 +03:00
Alexey Tsvetkov
fa0344a1b2
Add simple file modification util for gradle incremental tests
2016-08-10 22:22:54 +03:00
Alexey Tsvetkov
aff5dd1691
Refactoring: cleanup gradle plugin
2016-08-10 22:22:50 +03:00
Alexey Tsvetkov
81bc2701fa
Refactoring: move util functions to gradleUtils.kt
2016-08-10 22:22:47 +03:00
Alexey Tsvetkov
f649ebfdba
Refactoring: remove unused ScriptHandler
2016-08-10 22:22:43 +03:00
Alexey Tsvetkov
5f4e56c251
Refactoring: simplify KotlinSourceSet creation
2016-08-10 22:22:40 +03:00
Alexey Tsvetkov
cc585cf6f3
Refactoring: extract constants
2016-08-10 22:22:36 +03:00
Alexey Tsvetkov
eeed0a6eee
Refactoring: stop using internal classes to create DSL extensions
2016-08-10 22:22:32 +03:00
Alexey Tsvetkov
d9c9fb11ea
Refactoring: taskUtils.kt->gradleUtils.kt
2016-08-10 22:22:28 +03:00
Alexey Tsvetkov
6c80b33664
Refactoring: remove usages of ProjectInternal
2016-08-10 22:22:25 +03:00
Alexey Tsvetkov
f0ff0d0a18
Refactoring: inject FileResolver
...
This is part of refactoring to minimize using of internal API in gradle plugin
2016-08-10 22:22:21 +03:00
Alexey Tsvetkov
e0ebf2482b
Configure KotlinCompile.destinationDir before evaluation
...
Previously it was possible to refer to destinationDir
in gradle scripts (evaluation phase), so in order to
preserve compatibility destinationDir should be configured
before evaluation.
This does not affect android plugin because in this case kotlin
tasks were created after evaluation anyway, so it
was not possible to refer to destinationDir
during evaluation anyway.
2016-08-03 13:09:56 +03:00
Alexey Tsvetkov
e51f2457bf
Add additional java source dir to source set in android test
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
ef70814f60
Refactoring: extract function to map classpath
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
2cae5f01cf
Move call to kotlinTask.source to doTargetSpecificProcessing
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
ad1340caf3
Refactoring: move mapKotlinTaskProperties call to createKotlinJVMTask
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
815e297328
Add test for code using internal compiled incrementally
...
The issue was fixed during refactoring
#KT-12923 fixed
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
2e3b3da029
Track changes in generated source files
...
#KT-12962 fixed
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
7fe29a7e55
Refactoring: simplify source roots search
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
b13e1b451d
Refactoring: use convention mapping for configuring classpath of kotlin tasks
...
#KT-12658 fixed
#KT-12750 fixed
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
d55a8f8054
Refactor source configuration for android
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
d36de54aa9
Minor: cleanup
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
d376e76e75
Refactoring: set task properties directly
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
54659fcacf
Refactoring: remove extra property to pass stubs directory
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
92af1e9454
Refactoring: do not use extraProperties to pass kapt options to task
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
c838eed6a3
Refactoring: remove reflection calls
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
f297de401c
Refactoring: remove remainings of custom classloader in gradle plugin
2016-07-29 17:56:30 +03:00
Alexander Udalov
83000c50ff
Remove quotes around visibility in invisible member diagnostic
2016-07-22 18:13:41 +03:00
Alexey Tsvetkov
941437a9a2
Correct test case for KT-12776
...
After minifying test, it stopped failing without fix
2016-07-14 16:48:30 +03:00
Alexey Tsvetkov
58e13ddf54
Do not force dependency resolution when configuring kapt with stabs
...
#KT-12776 fixed
2016-07-14 16:15:19 +03:00
Alexey Tsvetkov
621ffca194
Do not run integration tests with old gradle versions
...
Reason finalizedBy is not supported with gradle < 2.0
2016-07-07 15:42:01 +03:00
Alexey Tsvetkov
03b4eba4ef
Remove dependency on Files from guava
2016-07-06 16:39:08 +03:00
Alexey Tsvetkov
16b1616ebc
Gradle: copy kotlin classes after java compilation
...
#KT-9392 fixed
#KT-12295 fixed
#KT-12736 fixed
2016-07-06 16:38:48 +03:00
Alexey Andreev
496539d101
KT-3008 Add module kind attribute to Maven plugin. Fix tests from libraries subproject
2016-06-27 15:33:26 +03:00
Yan Zhulanow
a434055b55
Load Gradle subplugin artifacts from the root project buildscript classpath as well (KT-11885)
...
(cherry picked from commit b54b0da)
2016-06-24 15:10:19 +03:00
Ilya Gorbunov
7c5c4610e8
Rename -jdk compiler option to -jdk-home (jdkHome), add jdk path validation.
2016-06-23 22:47:45 +03:00