Alexey Tsvetkov
fa6ed71fbd
Fix running gradle tests on windows
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
2c1699bc89
Minor: remove js-library dependency from jvm module
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
7642314780
Always flush caches
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
151cf7d073
Gradle IC: support multifile classes
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
f25d948b3f
Gradle IC should fail if duplicating class is added
...
#KT-14554 fixed
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
67b3d54b37
In case of IC failure rebuild all files since last build
...
Before this change only files from last iteration were rebuilt.
It is correct and optimal, but there are many diffs with JPS/Gradle
logs.
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
7c16d086aa
Groundwork for using IC without Gradle
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
7c1ebba57a
Minor: do not print index in parametrized test name
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
6191fd87ec
Minor: shorten references after move
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
68a7d88673
Refactoring: reorder IncrementalJvmCompilerRunner constructor parameters
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
3fabe6e4a7
Minor: update copyright in Gradle plugin
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
4a48c30f02
Cleanup: optimize imports in Gradle plugin
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
4ea9216672
Minor: replace File::isFile with File::exists
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
b0411de5c6
Minor: make Rebuild object
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
417f4f821b
Minor: remove duplicated logger utils
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
368e48780e
Refactoring: move IC classes into separate package
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
3bcd6e9a93
Refactoring: do not pass properties as parameters
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
c283515922
Refactoring: pass classpath and destination in K2JVMCompilerArguments
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
90dbf6c5fc
Refactoring: delegate IC files management to IncrementalJvmCompilerRunner
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
d569651099
Refactoring: split GradleMessageCollector and remove Gradle Logger from IncrementalJvmCompilerRunner
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
78c115523c
Refactoring: move all IC logic to IncrementalJvmCompilerRunner
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
0d1c803f71
Rebuild on cache corrupted exception
...
#KT-14055 fixed
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
fafde1e948
Refactoring: introduce IncReporter to report IC progress
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
e32c19ce4e
Refactoring: extract calculateSourcesToCompile
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
388dd9c2a6
Refactoring: return removed dirty files from calculateSourcesToCompile
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
b4c17dabf4
Refactoring: introduce class ChangedFiles
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
e9d4d85af2
Refactoring: extract parts of IC
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
26373d4952
Refactoring: pass incremental compilation state explicitly
2016-10-28 17:58:10 +03:00
Alexander Udalov
c49c019250
Add option to restore fallback to compiler built-ins + resurrect Maven build
2016-10-26 19:02:31 +03:00
Ilya Gorbunov
1c7196a1fb
Allow to reference internal API in stdlib tests
2016-10-26 17:47:15 +03:00
Ilya Gorbunov
8d76617094
Merge ReversedViews tests in one file as they can all run now in JS.
...
Make SynchronizedLazyValTest jvm-only.
2016-10-26 17:47:15 +03:00
Ilya Gorbunov
badbcd08de
Annotate explicitly stdlib tests, which must be excluded from JS stdlib tests with @JvmVersion, do not use file naming convention, use preprocessor instead.
2016-10-26 17:47:15 +03:00
Ilya Gorbunov
baccac30fb
Annotate explicitly stdlib sources, which must be excluded from JS stdlib with @JvmVersion, do not use file naming convention.
2016-10-26 17:47:15 +03:00
Alexey Tsvetkov
2bf0eb9e69
Fix pom.xml
2016-10-21 16:22:38 +03:00
Alexey Tsvetkov
0af7017836
Introduce common interface for common gradle options
...
This might be useful for future kotlin build scripts
2016-10-21 16:22:38 +03:00
Alexey Tsvetkov
b7d97a3aa2
Do not remove annotations.txt (kapt1) file before kotlin compiler is called
...
#KT-14250 fixed
Before this change the following could happen:
0. Successful build.
1. Only java files are changed.
2. CompileKotlin task starts because java files are also input files for kotlin.
3. annotations.txt file is deleted, but kotlin compiler is not called, so it is not regenerated.
4. Javac fails.
2016-10-21 16:22:38 +03:00
Ilya Gorbunov
c2554bd30e
Use stable kotlin (1.0.x) for kotlin-stdlib-gen to compile with and compile against.
...
Makes it easy for kontributors to run the generator.
2016-10-21 04:35:00 +03:00
Ilya Gorbunov
0ac461927c
Minor: Fix TODOs in stdlib tests
2016-10-18 17:13:17 +03:00
Ilya Gorbunov
68411aaa69
Add instruction how to run binary compatibility validator, share run configuration with its tests
2016-10-18 16:48:09 +03:00
Ilya Gorbunov
e6887ea4e5
Use abstract readonly collections as base classes for implementing collection properties of regex MatchResult
2016-10-14 19:06:25 +03:00
Ilya Gorbunov
703ee6bd78
Have mutable collection interfaces specified explicitly to get rid of platform types in parameter and return types.
2016-10-14 19:06:25 +03:00
Ilya Gorbunov
b6460e6280
binary-compatibility-validator, minor: refactor annotation utilities.
2016-10-14 18:53:54 +03:00
Alexey Tsvetkov
01e0bc8d5e
Ensure task build directory always exist
...
#KT-14253 fixed
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
d79679e647
Provide a way to force stdout output in Gradle tests
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
229e63f5c5
Minor: rename file its name is the same as class it contains
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
a0fa69c000
Do not check the content of JS file in Gradle test
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
0097e14ba1
Fix test dependencies for gradle integration tests
2016-10-14 15:55:24 +03:00
Dmitry Petrov
d2d8f72ffc
Annotations on type aliases: typealias is not a "default target".
...
Add diagnostic test for annotations on type aliases.
2016-10-13 17:52:21 +03:00
Ilya Gorbunov
0b3fb41eeb
Do not include $DefaultImpls inner classes in public API when they do not contain any public members (i.e. used only as a container to hold synthetic methods with annotations for properties or typealiases)
2016-10-13 09:52:42 +03:00
Ilya Gorbunov
2c9b2652c1
kotlin-maven-plugin: Add apiVersion parameter linked with kotlin.compiler.apiVersion property.
...
Test apiVersion parameter is applied as explicitly and as implicitly inferred from languageVersion.
#KT-14298
2016-10-13 08:37:34 +03:00