Ilya Chernikov
f5d6e41993
Update gradle wrapper
2017-09-19 21:37:05 +02:00
Ilya Gorbunov
095aacecac
Minor, test: align assertion with the expectation message
2017-09-19 17:57:18 +03: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
Mikhail Zarechenskiy
6a1b6d10d8
Setup JDK roots and initialize JDK_HOME in common core environment
...
#KT-20167 Fixed
2017-09-18 08:19:41 +03:00
Stanislav Erokhin
91a99b4726
Migrate impl to actual in libraries projects
2017-09-16 19:47:46 +03:00
Stanislav Erokhin
481cbd0850
Migrate header to expect in libraries projects
2017-09-16 19:47:45 +03:00
Stanislav Erokhin
7cd5eeb24d
Regenerate common stdlib: use 'expect' instead 'header'
2017-09-16 19:47:44 +03:00
Stanislav Erokhin
2b186909d4
Migrate diagnostic names for header/impl
2017-09-15 18:29:29 +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
Alexander Udalov
234148518e
Temporarily remove isInitialized and tests, but keep the implementation
...
This is needed because we want the compiler code to stay as much the
same in master and in 1.2 as possible
2017-09-13 22:51:23 +03:00
Alexander Udalov
c6263ac8e6
Support isInitialized intrinsic for lateinit properties
...
See https://github.com/Kotlin/KEEP/pull/73
#KT-9327 Fixed
2017-09-13 22:49:26 +03:00
Ilya Gorbunov
08052e63e9
Test to ensure fixed typed char array content[Deep]ToString, relates to #KT-16056
2017-09-13 20:53:17 +03:00
Anton Bannykh
497251a6d7
Revert "JS: use Mocha + NodeJs instead of Karma + PhantomJs to run stdlib tests" so that it wouldn't clash with Gradle Build transition
...
This reverts commit 11c83ad
2017-09-13 20:11:11 +03:00
Anton Bannykh
11c83ad0fc
JS: use Mocha + NodeJs instead of Karma + PhantomJs to run stdlib tests
2017-09-13 19:43:53 +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
Ilya Gorbunov
599113b30f
Fix internal KotlinVersion representation that caused invalid comparison
2017-09-06 18:45:33 +03:00
Yan Zhulanow
c330285fd0
Parcelable: Use innerClassNameFactory to figure out the internal name of the Creator class (KT-19680)
...
KAPT3 class builder mode in 1.1.4 replaces '$' (inner class name separators) with '/' by providing special innerClassNameFactory.
We should use it to be compatible with kapt.
2017-09-06 17:40:18 +03:00
Anton Bannykh
f4b329a055
JS: support @Before and @After annotations in kotlin.test
2017-09-06 14:36:45 +03:00
Alexander Udalov
840fce520c
Update KotlinVersion.CURRENT to 1.1.50
2017-09-04 13:09:52 +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
0e28d612e7
Add a test for the opt-out flag for disabling separate classes directory
...
(cherry picked from commit 393966d)
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
10feac9402
Remove CacheVersionChangedIT#testExperimentalCacheVersionChanged
...
experimental-format-version.txt was removed recently.
See also 534db2d45b
2017-08-29 04:28:09 +03:00
Alexey Tsvetkov
8e10a22aab
Use correct task name in KaptIncrementalIT test
2017-08-29 04:28:09 +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
Alexander Udalov
d1cff41ce0
Treat nested class of header class as header
...
Note that the quick fix to implement header class works incorrectly when
that class has nested classes at the moment; this should be fixed
separately
#KT-15494 Fixed
#KT-18573 Fixed
2017-08-25 15:40:37 +03:00
Alexander Udalov
3bc8ca5913
Report "declaration should be marked with impl" when possible
...
Also support a quick fix to add 'impl' modifier (KT-18454), although it
doesn't work yet on classes because there's no error on them in the IDE
#KT-18087 Fixed
#KT-18452 Fixed
#KT-18454
2017-08-25 15:35:05 +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
d5f0607cef
Add tests for java-library support.
2017-08-21 17:21:12 +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
Anton Bannykh
070e35bc15
JS: removed app-module-path dependency from integration tests
2017-08-16 13:21:46 +03:00
Anton Bannykh
a641838368
JS: clean up the unit test intergartion tests build file
2017-08-16 13:21:46 +03:00
Anton Bannykh
226ffb6c7e
JS: write integration test outputs to a file to prevent polluting the log with expected test failures
2017-08-16 13:21:46 +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
7986250dbe
Add a test for javaPackagePrefix
2017-08-14 16:13:48 +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
3d6622ae1b
Fix ExecutionStrategyJsIT failing due to platform-dependent fileTreeWalk
2017-08-14 15:05:55 +03:00
Sergey Igushkin
cd40968b72
Fix tests failing due to dev builds bundled into Gradle. Push AGP to beta.
2017-08-11 20:22:41 +03:00
Sergey Igushkin
6cd409d379
Fix tests assuming '_main' in default module names
2017-08-11 19:56:20 +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