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
Ilya Gorbunov
bb774cea76
Minor: remove anonymous class for Map.asSequence
2016-08-10 21:52:24 +03:00
Ilya Gorbunov
fb99919c59
Accept maps out-projected by key where possible.
2016-08-10 21:52:24 +03:00
Ilya Gorbunov
efc8f2c88a
Provide extensions to copy maps.
...
#KT-9108
2016-08-09 21:49:57 +03:00
Ilya Gorbunov
fed24c2be6
Docs: preserve empty lines in the generated documentation to separate summary and paragraphs in the body.
2016-08-09 17:43:12 +03:00
Alexander Udalov
d14843cb0e
Update API listing of built-in classes in kotlin.reflect
2016-08-08 17:54:11 +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
Ilya Chernikov
45ed340444
Add passing of allowKotlinPackage option from gradle plugin to compiler
2016-08-03 09:51:40 +02: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
048982cf36
Refactor classpath handling in KotlinCompile
...
#KT-13234 fixed
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
Mikhail Glukhikh
94029393cb
kotlin-stdlib-gen: UNCHECKED_CAST instead of CAST_NEVER_SUCCEEDS
...
(cherry picked from commit feab6f3)
2016-07-27 10:51:51 +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
Alexander Udalov
8f33830f29
Suppress UNCHECKED_CAST instead of CAST_NEVER_SUCCEEDS in several places
...
This is related to KT-6611 being fixed recently. Note that not all cases of
incorrect "cast never succeeds" were fixed
2016-07-13 13:42:42 +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
Denis Zharkov
2cc09f928e
Allow suspend extensions for specially annotated controllers
2016-07-06 15:25:19 +03:00
Alexey Andreev
80deebbc2a
Fix configuration of maven test of moduleKind configuration property
2016-07-04 14:56:45 +03:00
Ilya Gorbunov
dd0ecb5ece
Adjust exposed visibility of platform specific implementations.
2016-07-01 18:05:23 +03:00
Alexey Tsvetkov
d3461d1519
Fix shading of META-INF/services in kotlin-compiler-embaddable
2016-06-30 20:14:21 +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
Denis Zharkov
2578fc3344
Do not generate mutable collection stub methods in interfaces
...
#KT-12359 Fixed
2016-06-24 16:37:19 +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
71476d5d43
Minor: remove unused commonArgs
2016-06-23 22:47:47 +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
Ilya Gorbunov
13016cae93
Add tests for 'jdk' compiler option for CLI, maven and gradle.
2016-06-23 22:46:07 +03:00
Ilya Gorbunov
644df89dc9
CLI: Allow to specify JDK for classpath building with '-jdk' compiler argument.
...
Maven: support jdk parameter linked to kotlin.compiler.jdk property.
Gradle: support jdk compiler option.
2016-06-23 22:46:07 +03:00
Ilya Gorbunov
1157e052ee
Maven: support languageVersion parameter, linked to property kotlin.compiler.languageVersion.
2016-06-23 22:46:07 +03:00
Ilya Gorbunov
848599e940
Maven and Gradle tests for jvmTarget parameter.
2016-06-23 22:46:07 +03:00
Ilya Gorbunov
3f3a3820b8
Maven: support jvmTarget parameter in Maven, linked to property kotlin.compiler.jvmTarget.
...
Gradle: support jvmTarget compiler option.
2016-06-23 22:46:07 +03:00
Alexey Tsvetkov
8fe63cdfaf
Prevent usage of deprecated constructor
...
This removes warning with gradle 2.14.
Before 2.14 constructor was removed, then it was returned and deprecated.
#KT-12786 fixed
2016-06-21 20:22:53 +03:00
Alexey Tsvetkov
34181402fb
Fix CCE when creating kotlin-js task in gradle plugin
2016-06-21 20:22:53 +03:00