Commit Graph

41515 Commits

Author SHA1 Message Date
Ilya Chernikov d039d191f2 Fix tests in the new build infrastructure 2017-09-19 23:58:30 +02:00
Ilya Chernikov a61facf3d1 Clean most of the shared source roots conflicts 2017-09-19 23:58:29 +02:00
Ilya Chernikov e26b421e6c Add JDK detection 2017-09-19 23:58:29 +02:00
Ilya Chernikov 0c085cd0a2 Remove gradle files from obsolete gradle build parts 2017-09-19 23:58:28 +02:00
Alexander Podkhalyuzin 3f8170d369 Clean idea files generated on the gradle import, add them to .gitignore 2017-09-19 23:58:27 +02:00
Ilya Chernikov 3e46c59187 Clean unused dependencies, minor refactorings 2017-09-19 21:37:27 +02:00
Ilya Chernikov 27968c8e13 Set proper jvmTarget for projects 2017-09-19 21:37:27 +02:00
Ilya Chernikov deda50dbbb Continue switching projects to improved dsl: sourceSets and test running 2017-09-19 21:37:26 +02:00
Ilya Chernikov 336e24b837 Fix project structure after rebase on master 2017-09-19 21:37:25 +02:00
Ilya Chernikov d0b8767536 Enable gradle build-scan 2017-09-19 21:37:24 +02:00
Ilya Chernikov 46c10157d3 Add aggregate tests tasks 2017-09-19 21:37:23 +02:00
Ilya Chernikov b6c255cea5 Refactor: project renaming, using improved build dsl 2017-09-19 21:37:22 +02:00
Ilya Chernikov 8e24383428 Improve build DSL 2017-09-19 21:37:22 +02:00
Ilya Chernikov a87396b070 Add scripting projects from libraries 2017-09-19 21:37:21 +02:00
Ilya Chernikov 87726b38b6 Add generated project-schema extensions, example refactoring 2017-09-19 21:37:20 +02:00
Ilya Chernikov 24c192135f Control plugin version and repo from properties 2017-09-19 21:37:19 +02:00
Ilya Chernikov 96d5e0bb21 Refactoring - renaming projects, applying sourceSets DSL 2017-09-19 21:37:18 +02:00
Ilya Chernikov a6aaee3fe0 Add system property/environment var for -kotlin-home compiler option 2017-09-19 21:37:17 +02:00
Ilya Chernikov fac2c16999 Fix generators tests compilation 2017-09-19 21:37:16 +02:00
Ilya Chernikov 513ab08edd Refactor and clean preloader project 2017-09-19 21:37:16 +02:00
Ilya Chernikov 1d56730538 Separate j2k and eval4j tests from idea tests 2017-09-19 21:37:15 +02:00
Ilya Chernikov e18b77af21 Refactor compiler-related published projects
- move preparation into separate projects
- rename projects for publishing
- add compiler plugins
2017-09-19 21:37:14 +02:00
Ilya Chernikov aa4fdaa713 Implement publishing in the build 2017-09-19 21:37:13 +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 3caa426b76 Switching library projects to java 8 compilation with exceptions for stdlib/runtime/reflect/test 2017-09-19 21:37:11 +02:00
Ilya Chernikov fca9478fd8 Tweak dependencies loading and other minor infrastructure changes 2017-09-19 21:37:10 +02:00
Ilya Chernikov 06532cefa2 Fix teamcity build 2017-09-19 21:37:09 +02:00
Ilya Chernikov 628927782a Fix tests in the gradle environment 2017-09-19 21:37:09 +02:00
Ilya Chernikov f053ed968f Change core env and proguard config for compatibility with new gradle build
(the build.xml should be modified to support the proguard config in this form)
2017-09-19 21:37:08 +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
Ilya Chernikov 61dfb75e0e Implement Gradle Kotlin DSL build 2017-09-19 21:37:06 +02:00
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
Mikhail Glukhikh 38ddc731ea Do not check 'isArrayOfMethod' using BuiltInsPackageFragment
So #KT-18631 Fixed
2017-09-19 17:14:22 +03:00
Mikhail Glukhikh bf739198aa Fix regular quick-fix test with multi-platforms required 2017-09-19 17:13:58 +03:00
Mikhail Glukhikh ef6a00f477 Fix completion tests 2017-09-19 17:13:37 +03:00
Valentin Kipyatkov 454c5229f9 Ability to disable caches reset on ProcessCanceledException via internal action 2017-09-19 16:52:20 +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
Alexey Andreev c5e5a43f68 JS: fix unit materialization in case of null check and elvis operator
See KT-20287
2017-09-19 15:30:55 +03:00
Alexey Andreev b4c622d433 JS: optimize destructuring declaration when possible
See KT-8285
2017-09-19 15:30:26 +03:00
Alexey Andreev a2bfaf4fc8 Fix multiplatform test (use expect/actual instead of header/impl) 2017-09-19 15:21:30 +03:00
Nikolay Krasko 1b447a0231 Execute action without writeActionPriority in tests 2017-09-19 11:27:23 +03:00
Dmitry Jemerov c05c359703 Correctly detect multiplatform modules in run code
LanguageVersionSettings doesn't mean that the module is actually
multiplatform; it only means that it _could_ be one. Use
platform and information from facet instead.

Also fix detection of common stdlib version and add tests for common
run config.
2017-09-18 19:23:22 +02:00
Dmitry Jemerov dd34c67849 Add missing dependencies 2017-09-18 19:23:22 +02:00
Alexey Sedunov 04a4bef615 Misc: Fix multiplatform test configuration 2017-09-18 19:43:41 +03:00
Vyacheslav Gerasimov 43ee2bd9c4 Add new Gradle with Kotlin DSL project wizard for Kotlin, KotlinJS, Java, Groovy
#KT-20308 Fixed Target Version 1.2
2017-09-18 17:15:54 +03:00
Vyacheslav Gerasimov 3d71fa85be Copy initial new gradle project wizard files from idea gradle plugin 2017-09-18 17:15:50 +03:00
Stanislav Erokhin e8d42e4dde Increase stub version because we add new soft-keywords: expect and actual 2017-09-18 16:37:36 +03:00
Alexey Sedunov 7c26f87b0c Misc: Fix multiplatform test configuration 2017-09-18 16:30:28 +03:00