Sergey Igushkin
ee6aae7219
Enabled incremental compilation by default in Gradle plugin.
...
#KT-16546 Fixed
(cherry picked from commit 06715c5)
2017-03-07 11:32:26 +03:00
Sergey Igushkin
73e94ffde0
Added a test for the fix of KT-16434.
...
(cherry picked from commit 5a6d06f)
2017-03-03 18:04:23 +03:00
Sergey Igushkin
6605ba80e7
Fix for androidTest variants of Android Gradle build.
...
Added a workaround reflection call to TaskManager to create a
javac task since it is missing for androidTest variants with jack.
Added source configuration with the tested variant to make
the tested sources visible to the compiler.
#KT-16434 Fixed
(cherry picked from commit 84efd05)
2017-03-03 18:04:12 +03:00
Yan Zhulanow
060095d39f
Remove kotlin-annotation-processing artifact from the serialized compiler options. It is unused in kapt3 (or if no annotation processor dependencies are provided) but is still imported into the IDEA module files. This leads to compilation error due to the plugin incompatibility.
...
Incompatibility reason: kotlin-annotation-processing has references to the shaded intellij-core, so, being provided to the unshaded kotlinc from the Kotlin plugin, it throws the AbstractMethodError.
This fixes #KT-16184.
2017-03-01 18:50:22 +03:00
Ilya Chernikov
6d9ecc60ef
Skip metadata version check in repl, improve JSR 223 template compatibility
2017-02-24 16:58:25 +01:00
Ilya Chernikov
d3682b7f7d
Implement JSR 223 script template with eval functions, some fixes
2017-02-24 16:58:25 +01:00
Ilya Chernikov
63aae56b11
Get rid of eval on daemon completely, fixes also JSR 223 examples
2017-02-24 16:58:24 +01:00
Ilya Chernikov
b9469a9308
Fix script-util after changes in repl infrastruct
2017-02-24 16:58:24 +01:00
Ilya Gorbunov
c0c01d6e49
Drop HIDDEN deprecations from kotlin-stdlib.
2017-02-22 17:28:02 +03:00
Alexey Tsvetkov
dfb60ba4ac
Minor: remove the word 'experimental' from Gradle IC description
2017-02-16 21:27:04 +03:00
Alexey Tsvetkov
62a15e803b
Avoid storing absolute paths in SyncOutputTask
...
#KT-16003 fixed
2017-02-16 21:26:50 +03:00
Alexey Tsvetkov
6e0f3b7f1f
Avoid having -d and -module set at the same time
...
#KT-14619 fixed
2017-02-16 21:26:50 +03:00
Alexey Tsvetkov
667c00e3ed
Copy compiler arguments from compile task to kapt task
...
#KT-15994 fixed
2017-02-16 21:26:50 +03:00
Alexander Udalov
1ee2053a16
Make callable references Serializable on JVM
...
#KT-11254 Fixed
2017-02-16 18:00:18 +03:00
Alexander Udalov
46bd64f59a
Rename FunctionImpl -> FunctionBase, restore abstract class FunctionImpl
...
This fixes the IncompatibleClassChangeError which happens when kotlin-reflect
1.0.x and kotlin-stdlib 1.1.x are in the classpath
#KT-16358 In Progress
2017-02-15 20:43:25 +03:00
Anton Bannykh
4c808e8691
JS: concat vararg arguments using Kotlin.concat and Kotlin.concatPrimitive functions in order to be binary compatible with (Kotlin PrimitiveArray -> JS TypedArrays) mapping.
2017-02-15 18:58:29 +03:00
Yan Zhulanow
8e9536f61d
Revert "Kapt3: Add generated source files to Java compile task after kapt execution. Filter only .java files."
...
This reverts commit 82c2ce3a336b8d15161ecb6dbad0c269c9966818.
2017-02-15 16:28:33 +03:00
Yan Zhulanow
35b41b9401
Kapt3: Fix annotation processor option passing
2017-02-15 16:28:26 +03:00
Alexander Udalov
8e3cb912c7
Make Ref classes for shared vars Serializable
...
#KT-14566 Fixed
2017-02-15 10:46:48 +03:00
Sergey Igushkin
9e1afe71f2
Fixed Kotlin2Js output not being the output of the compileKotlin2Js tasks.
...
Therefore, fixed Kotlin2Js output not present in JAR.
Reworked the clean behavior in regard to compileKotlin2Js tasks.
Fixed duplicate source roots passed to the compiler.
Issues:
- #KT-15829 Fixed
- #KT-16267 Fixed
- #KT-15902 Fixed
2017-02-13 15:44:05 +03:00
Alexey Sedunov
1452d7e4a6
Kotlin Gradle Plugin: Extend implicit argument set
2017-02-13 14:53:18 +03:00
Ilya Chernikov
82320bdf7d
Make maven/aether dependencies optional in the script-util
...
(cherry picked from commit 8197240)
2017-02-10 16:03:06 +01:00
Ilya Chernikov
46894da981
Get rid of daemon-client dependency on openapi, making others "provided"
...
(cherry picked from commit 175d74c)
2017-02-10 16:02:55 +01:00
Alexey Sedunov
52102d359a
Kotlin Gradle Plugin: Expose default compiler arguments via compilation task API
2017-02-09 11:41:04 +03:00
Ilya Gorbunov
c37540c727
Minor: fix missing angle bracket.
2017-02-08 20:13:22 +03:00
Yan Zhulanow
69a063b0b2
Kapt3: Serialize annotation processor options to base64 to support spaces in option values
2017-02-08 19:01:16 +03:00
Yan Zhulanow
2553513205
Kapt3: Allow users to disable error type correction (and now it's disabled by default)
2017-02-08 19:01:13 +03:00
Yan Zhulanow
5a46c01f76
Kapt3: Add generated source files to Java compile task after kapt execution. Filter only .java files.
...
This is needed to generate Kotlin files using kapt.
2017-02-08 19:01:04 +03:00
Yan Zhulanow
1797ea62f4
NoArg: Support @Embeddable JPA annotation (KT-15946)
2017-02-08 19:01:03 +03:00
Yan Zhulanow
349095cd14
Maven: Make compiler plugin option reporting more user-friendly
2017-02-08 19:01:03 +03:00
Yan Zhulanow
277490b903
AllOpen, NoArg: Use presets in Maven plugins
2017-02-08 17:36:19 +03:00
Yan Zhulanow
52ecd05301
AllOpen, NoArg: Use presets in Gradle plugins
2017-02-08 17:36:19 +03:00
Sergey Igushkin
292f010e59
Fixed Kotlin2JsCompile not picking dependencies from configurations other than compile.
...
Example:
apply plugin: 'kotlin2js'
dependencies {
...
testCompile "org.jetbrains.kotlin:kotlin-test-js:$kotlin_version"
}
Here, the `:compileTestKotlin2Js` task did not pick the dependency and used the `compile` classpath.
This has been fixed.
Also, fixed `testCompileTestCouldAccessProduction` and added `testJsCustomSourceSet`.
2017-02-08 14:36:18 +03:00
Alexey Sedunov
615c316262
Kotlin Gradle Plugin: Postpone friend dependency collection until the actual compilation as it may cause an error during Gradle-IDEA project synchronization
...
#KT-16174 Fixed
2017-02-08 11:57:00 +03:00
Sergey Igushkin
d6a60424a9
Weakened testSuppressWarnings() so that it doesn't fail on the environment STRONG_WARNING.
2017-02-07 16:19:40 +03:00
Ilya Gorbunov
03cdc20d64
Update public API dump: new coroutine builder intrinsics
2017-02-07 14:42:00 +03:00
Denis Zharkov
52f1194247
Update public API dump: areEqual helpers for ieee 754 comparisons
2017-02-07 14:41:58 +03:00
Ilya Gorbunov
d4d647ab00
Remove public synthetic annotation holder methods from public API dump.
2017-02-07 14:41:56 +03:00
Ilya Gorbunov
970490e097
Revert "Update rendered public API". This reverts commit a10c6f00f9.
...
Revert "Update stdlib reference and binary compatibility test data". This reverts commit 2d02e5106f .
2017-02-07 14:41:31 +03:00
Denis Zharkov
a10c6f00f9
Update rendered public API
2017-02-07 11:32:10 +03:00
Denis Zharkov
4f6a77cf38
Introduce createCoroutineUnchecked intrinsic
...
Also use it for buildSequence implenentation
#KT-16155 Fixed
2017-02-07 11:08:27 +03:00
Alexander Udalov
2d02e5106f
Update stdlib reference and binary compatibility test data
...
After 0db60bf and 5cffb38
2017-02-06 19:39:15 +03:00
Alexander Udalov
b784680fe2
Fix NPE on equals/hashCode for callable references without kotlin-reflect
...
#KT-11316 Fixed
#KT-15847 Fixed
2017-02-03 19:35:16 +03:00
Alexey Tsvetkov
62e42d6f45
Fix kapt1 with stubs test to main internal references
2017-02-03 17:16:08 +03:00
Alexey Tsvetkov
de24e68adc
Revert "Avoid having -d and -module set at the same time"
...
This reverts commit ac241e267648e9344d718c3a44446c6e13d8d2e4.
2017-02-03 17:16:08 +03:00
Sergey Igushkin
2516583ecf
Fixed empty -libraries passed from Gradle plugin in CLI.
2017-02-03 13:20:53 +03:00
Alexey Andreev
0f049a90aa
JS: prohibit nested classes, objects and enums in external interface. See KT-16012
2017-02-03 11:09:09 +03:00
Dmitry Jemerov
ac4be88627
Prevent duplicate addition of "org.jetbrains.kotlin" prefix when copying sources to Maven projects
2017-02-02 14:06:55 +01:00
Sergey Mashkov
4c2edd54a6
KT-16043 IDL: mark inline helper function as InlineOnly
2017-02-01 14:44:48 +03:00
Alexey Tsvetkov
c57dac159b
Avoid having -d and -module set at the same time
...
#KT-14619 fixed
2017-01-31 16:53:34 +03:00