Alexey Andreev
9008791a54
JS: generate paths in source maps relative to .map file location
...
See KT-19818
2017-10-06 15:24:25 +03:00
Mikhael Bogdanov
d9df2416a6
Refactor KotlinMultiplatformPlugin to allow Native extend it
2017-10-06 10:56:15 +02:00
Sergey Igushkin
df99c4fe28
Fix compiler classpath discovery:
...
* Fix accidental filtering out the stdlib and reflect
* Fix module search in classpath: use moduleId instead of k-c-embeddable
2017-10-05 21:05:06 +03:00
Sergey Igushkin
feee93186b
Replace kotlin-annotation-processing -> (...)-gradle for Kapt
2017-10-05 21:05:06 +03:00
Sergey Igushkin
5f593ac3f8
Add @Input to compiler args and compiler JAR. Add up-to-date-ness tests.
...
Issue #KT-20036 Fixed
Issue #KT-3463 Fixed
Issue #KT-16299 Fixed
Issue #KT-16915 Fixed
(cherry picked from commit e6d867f)
2017-10-05 20:24:01 +03:00
Ilya Chernikov
f00fcddc76
Fix ide dependencies in gradle-plugin module
2017-10-05 16:14:26 +02:00
Sergey Igushkin
28567570ea
Changes related to the 'expectedBy' Gradle configuration:
...
* Remove the `extendsFrom` relation;
* Refactor, reword warnings;
* Add the new expectedBy name to `KotlinGradleModelBuilder.kt`.
(cherry picked from commit de198f0)
2017-10-05 15:37:44 +03:00
Sergey Igushkin
ff687131b1
Rename implement to expectedBy in Gradle, deprecate the old name
...
Issue #KT-20618 Fixed
(cherry picked from commit 6e0d378)
2017-10-05 15:37:43 +03:00
Andrey Mischenko
e4fe9be5e7
Merge branch 'master' into KT-18765
2017-10-04 17:43:11 +08:00
Alexey Andreev
10f7f61991
Fix compilation of Gradle JS task
2017-10-03 14:50:24 +03:00
Alexey Tsvetkov
62f293280c
Gradle: compile tests incrementally when main is changed
...
#KT-17674 fixed
2017-09-29 05:11:20 +03:00
Sergey Igushkin
25ca079fc5
Fix agp25 source set Kotlin classes not included in kotlin-gradle-plugin
2017-09-22 17:30:01 +03:00
Andrey Mischenko
4a2ea4de4b
KT-18765 Move incremental compilation message from Gradle's warning to info logging level
2017-09-21 14:30:09 +08:00
Ilya Chernikov
df04efcf14
Rename artifacts, fix dependencies and artifact contents
2017-09-20 11:52:00 +02:00
Ilya Chernikov
51fc3da2f5
Implement compiler classpath config property in gradle...
...
instead of compiler jar
And add stdlib/reflect/script_runtime to the classpath on detection
2017-09-20 11:51:46 +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
Ilya Chernikov
a8c45819a1
Fix sources/javadoc artifactsi in gradle tools, separating android extensions runtime
2017-09-20 11:51:37 +02:00
Ilya Chernikov
cf7312dea8
Add gradle plugin markers
2017-09-20 11:51:29 +02:00
Ilya Chernikov
0676ebd530
Fix after rebase on master
2017-09-19 23:58:38 +02:00
Ilya Chernikov
b4c9422376
Rearrange and rename idea-plugin related and annotation-processing modules
2017-09-19 23:58:37 +02:00
Ilya Chernikov
a61facf3d1
Clean most of the shared source roots conflicts
2017-09-19 23:58:29 +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
438525dfff
Proper import of the gradle part:
...
- using non-shadowed libs
- stop preshgadowing plugins
- switch to project dependencies
- add annotation processing module
2017-09-19 21:37:12 +02:00
Ilya Chernikov
6b22282ad4
Change previous gradle build for compatibility with the centralized build
...
incompatible with the main build yet
2017-09-19 21:37:07 +02:00
Sergey Igushkin
41b13d25f2
Fix javaOutputDir changed to the JAR, which was breaking unit tests
...
internal visibility, because they did not get the JAR into classpath
Issue #KT-20212 Fixed
(cherry picked from commit 19e861b)
2017-09-19 15:33:58 +03:00
Sergey Igushkin
5ce514bd42
Changes to configuration of Kotlin source set
...
* Include the Java source directory set as-is, without iterating over
its srcDirs
* Avoid Java sources duplication with newer Gradle versions.
Issue #KT-16764 Fixed
Issue #KT-17564 Fixed
2017-09-19 15:33:58 +03:00
Yan Zhulanow
2fb2211a4d
Kapt: Prevent kaptGenerateStubsTask from being UP-TO-DATE when there is no incremental data generated for some reason
2017-09-14 19:16:55 +03:00
Yan Zhulanow
8e72a1211b
Kapt: Add IDEA integration (KT-19097, KT-17923, KT-19823)
2017-09-14 18:40:55 +03:00
Anton Bannykh
22dc36a596
JS: enable translation of primitive arrays to TypedArray's by default (KT-17137)
2017-09-13 18:45:19 +03:00
Vladimir
9a8699a2ab
Kapt: kaptGenerateStubs now depends on kapt build dependencies (KT-20001)
2017-09-12 22:07:18 +03:00
Alexey Andreev
c66bc0b0e9
Remap source maps in JS DCE. Improve JS DCE error logging
...
See KT-19821
2017-09-08 18:27:41 +03:00
Mikhail Zarechenskiy
03440210ee
Introduce language version 1.3
2017-09-07 12:52:32 +03:00
Sergey Igushkin
ff1c5ad793
Merge pull request #1260 from JetBrains/kotlinx.serialization.patches/gradle
...
Support for gradle subplugins in Kotlin2JS compilation
2017-09-01 01:03:37 +03:00
Sergey Igushkin
e1924e0d2f
(minor) Modify warning logic for separate classes dirs opt-out flag
...
(cherry picked from commit 0dfe1a1)
2017-08-29 14:39:17 +03:00
Sergey Igushkin
0263919dbd
Provide an opt-out flag for separate classes dirs with Gradle 4.0+
...
Issue #KT-19774 Fixed
(cherry picked from commit 2aa6f5a)
2017-08-29 14:39:17 +03:00
Alexey Tsvetkov
66a77c7ec2
Fix Gradle IC cache version checking
2017-08-29 04:28:09 +03:00
Alexey Tsvetkov
b54414d628
Implement Gradle JS IC support
...
#KT-19956 fixed
To try the experimental JS IC add
'kotlin.incremental.js = true' to a 'local.properties'
or 'gradle.properties' file in Gradle project's root.
2017-08-29 04:23:02 +03:00
Alexey Tsvetkov
3ad5e78d77
Extract common caches
2017-08-29 02:24:36 +03:00
Leonid Startsev
749a574234
Support for gradle subplugins in Kotlin2JS compilation
...
Because ServiceLoader can't check generic argument of
KotlinGradleSubplugin in runtime, we have to manually check the type in
`isApplicable`.
2017-08-24 17:26:01 +03:00
Sergey Igushkin
1848bc1840
Support java-library plugin: register Kotlin output for consumers
...
Issue #KT-18497 Fixed
2017-08-21 17:21:03 +03:00
Sergey Igushkin
bf98e26bc2
Fix nullable javaPackagePrefix used as @Input, resulting in build failure
2017-08-14 18:59:17 +03:00
Sergey Igushkin
192d569e54
Support Java package prefix in Gradle plugin
...
Issue #KT-17150 Fixed
2017-08-14 16:13:13 +03:00
Sergey Igushkin
80131d8359
Fix generate stubs task not being assigned a source set name
2017-08-11 13:38:22 +03:00
Sergey Igushkin
b938206234
Add @Input to moduleName, to incorporate it into the up-to-date checks
2017-08-10 21:23:07 +03:00
Sergey Igushkin
84e1e9f8aa
Change default module name from project.name to archivesBaseName;
...
Get rid of `_main` for the main module.
Issue #KT-17355 Fixed
2017-08-10 21:23:07 +03:00
Sergey Igushkin
52f923c5ff
Fix internals of an android-library not accessible in its androidTest
...
Issue #KT-19370 Fixed
2017-08-07 20:33:18 +03:00
Alexey Andreev
a4551fb0fb
Fix infinite loop during continuous Gradle build including JS DCE
...
It's basically a workaround fox bug in Gradle.
See https://github.com/gradle/gradle/issues/2651
2017-08-07 16:36:57 +03:00
Sergey Igushkin
71878b2218
Merge pull request #1225 from nageshs/master
...
Close the local.properties file after reading
Issue #KT-19397 Fixed
2017-08-07 16:07:51 +03:00