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
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
Sergey Igushkin
13a2de1816
Update libraries/ReadMe.MD, add info about plugin markers required for tests
2017-08-07 15:14:37 +03:00
Sergey Igushkin
0cfac71efe
(minor) Improve readability of pluginMarkers.gradle, fix indent in file
...
(minor) Clarify the comment on the setUpSeparateArtifact block
2017-08-07 14:33:35 +03:00
Sergey Igushkin
999db0bc80
Add a test for plugins DSL
2017-08-07 14:32:41 +03:00
Sergey Igushkin
8fd508566a
Add Gradle plugin marker artifacts for the Gradle plugins.
...
This allows for the Gradle plugins DSL to resolve the plugins from
a custom repository.
https://docs.gradle.org/current/userguide/plugins.html#sec:plugin_markers
2017-08-07 14:17:43 +03:00
Alexey Sedunov
aed9d3899e
Misc: Fix compiler argument usages after refactoring
2017-08-03 19:59:53 +03:00
Yan Zhulanow
3d7d1b20ab
Ensure there won't be the same classpath entries in the resulting classpath
2017-08-02 03:36:57 +03:00
Bill Collins
9a40e9b96d
Don't overwrite plugin classpaths detected earlier for annotation processing. Fixes #KT-18022
2017-08-02 03:36:56 +03:00
Alexey Tsvetkov
45ec0e364a
Remove Gradle plugin dependency on Apache Commons
...
We have used `commons-lang` to detect
if current OS is a Windows.
`org.apache.commons.lang.SystemUtils` also
tries to parse JDK version in `clinit` and,
as of AC version 2.4, fails on JDK 9.
I preferred to remove the dependency completely
and copy an implementation of `isWindows` from Intellij
platform, because the code is quite simple
and minimizing unnecessary dependencies will help to avoid
compatibility problems in future.
Gradle plugin also declares a dependency on `commons-io`,
but it seems unused, so the dependency is also removed.
#KT-18832 fixed
2017-08-01 19:43:25 +03:00
Nagesh Susarla
b9788bbafd
Close the local.properties file after reading
2017-07-31 15:36:18 -07:00
Ilya Gorbunov
050744627d
Clean stdlib and reflect before rewriting binary API dump
...
The change in the run configuration "Binary compatibility tests, overwrite results"
is to prevent incremental compilation of these artifacts.
During the incremental compilation only the declarations in the files being
recompiled are dumped to declarations.json.
This results in incomplete dump and affects the public declarations dump.
This clean step enforces stdlib and reflect libraries to be fully recompiled.
This step can be removed as soon as we do not need declarations.json to dump public API.
2017-07-31 23:13:56 +03:00
Alexey Tsvetkov
534db2d45b
Remove old IC: remove experimental cache version
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
5af9d29cbe
Remove old IC: remove experimental-ic-build.log
...
This commit moves each experimental-ic-build.log
into a corresponding build.log file.
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
2bd7d12312
Remove old IC: remove IncrementalCompilation.isExperimental
2017-07-31 19:34:58 +03:00
Sergey Igushkin
4923589b38
Fix testAndroidExtensionsManyVariants not using experimental flag
2017-07-31 16:56:06 +03:00
Sergey Igushkin
23ea1a1a60
Push Android Gradle plugin version used in tests to 3.0.0-alpha8
2017-07-31 16:52:48 +03:00
Alexander Udalov
82502e1a8b
Fix compilation of kotlin-script-util
...
Compilation was broken in 46a01ec
2017-07-28 19:26:35 +03:00
Sergey Igushkin
05919244bd
Fix testLogLevelForceGC
2017-07-28 16:39:10 +03:00
Sergey Igushkin
7906ac9348
Fix unresolved rhino dependency in testDce.
2017-07-28 16:39:10 +03:00
Yan Zhulanow
142a64e039
Minor: Fix Gradle integration test compilation, replace .use() with try&finally
2017-07-27 21:22:06 +03:00
Sergey Igushkin
fabcd6b73c
Fix Gradle IT compilation.
2017-07-27 20:44:03 +03:00
Anton Bannykh
e9e81d96a5
Fixed maven multiplatform test
2017-07-27 19:34:14 +03:00
Ilya Gorbunov
ca8bf395c3
Do not create iterator in 'any', 'none', 'all' and 'count' unless necessary
...
#KT-19133 Fixed
2017-07-26 22:42:29 +03:00
Sergey Igushkin
7da6ff78c1
Fix Kapt3 classes not consumed by kotlinCompile tasks from their friend
2017-07-26 20:19:33 +03:00
Yan Zhulanow
826672ea1b
Kapt: Register kapt classes output directory as Java classes directory (KT-19211)
...
This is relevant to pure (non-Android) Java projects and Gradle 4.0+.
2017-07-26 20:19:30 +03:00
Yan Zhulanow
725f51056f
Kapt: Do not use AbstractCompile as a supertype for KaptTask (KT-19179)
...
Gradle sometimes tells that kaptCompile is UP-TO-DATE even when it's not true, so the annotation processing step is silently skipped.
Looks like replacing `mapSource {}` with an explicit getter or with manual `source()` invocation does not fix the problem.
This looks like a bug in Gradle appeared since 3.0. The test from this commit works with Gradle 2.14.1.
2017-07-26 20:19:29 +03:00
Yan Zhulanow
53fda33499
Kapt: 'kaptKotlin' task should be invoked only when all task dependencies from kapt configuration is built (KT-19178)
2017-07-26 20:19:28 +03:00
Yan Zhulanow
c2be771486
Android Extensions: Support defaultCacheImplementation in Gradle
2017-07-26 20:19:27 +03:00
Yan Zhulanow
98a2506eb0
Android Extensions: Add kotlin-android-extensions-runtime only if experimental flag is enabled
2017-07-26 20:19:25 +03:00
Alexander Udalov
2f99f6ad34
Refactor AnalysisFlags and their support in IDE
...
* Support flags with any value (not just Boolean)
* Support all flags by parsing arguments in KotlinFacetSettings, instead
of manually listing known flags
#KT-19210 Fixed
2017-07-26 11:45:24 +03:00
Alexander Udalov
f313001b2d
Update to jline 3.3.1 and jansi 1.16
...
Note that the history file name was changed (.kotlin_history ->
.kotlinc_history) because the history is now stored in a different
(incompatible) format.
#KT-11369 Fixed
2017-07-25 11:10:45 +03:00
Ilya Gorbunov
f10ea03173
Provide extension to get mutable iterator from the mutable map
...
#KT-18992 Fixed
2017-07-24 21:02:15 +03:00
Ilya Gorbunov
ec5c15f190
test-dagger-maven-example: kotlin version comes as a parameter
2017-07-21 20:15:34 +03:00
Ilya Gorbunov
d8ea3ddcc8
Cleanup poms of projects migrated to gradle
2017-07-21 20:15:34 +03:00
Pavel V. Talanov
008c27d547
Compiler build depends on kotlinx-coroutines-core
2017-07-19 12:28:43 +03:00
Anton Bannykh
6ed7eaf546
JS tests: changes to kotlin.test + the way compiler tests are generated.
2017-07-19 12:24:09 +03:00