Commit Graph

155 Commits

Author SHA1 Message Date
Vyacheslav Gerasimov 3b472f4411 Build: Use lazy from with trailing lambda in fromEmbeddedComponents
configurations shouldn't be resolved at project configuration step
2018-04-18 17:53:32 +03:00
Mikhail Glukhikh 55da251ffc Resolve problem with too long command line path in Gradle Windows 2018-04-16 17:08:27 +03:00
Vyacheslav Gerasimov 4299455dc1 as32: Update to AS 3.2 C10 2018-04-13 21:33:03 +03:00
Nicolay Mitropolsky c7c565ffa7 182: velocity-dependency fix for idea 182 2018-04-11 16:28:43 +03:00
Vyacheslav Gerasimov ff1ce44c8b 182: Fix build scripts for idea 182 2018-04-11 16:28:39 +03:00
Vyacheslav Gerasimov 1c9a2c5d30 182: Build: Support idea SNAPSHOT version 2018-04-11 16:28:39 +03:00
Simon Ogorodnik d361e0f5ea 181: Try to fix OOM in 181 by rising Xmx 2018-04-11 16:28:33 +03:00
Vyacheslav Gerasimov b250d20dde as31: Disable ultimate for Android Studio 2018-04-11 16:28:21 +03:00
Yan Zhulanow 798a4c6c8d Pill: Fix Kotlin plugin artifact generation (ideaPlugin is no more a Copy task) 2018-04-09 19:45:49 +03:00
Vyacheslav Gerasimov d33b3cd4ee Build: Add :prepare:cidr-plugin project 2018-04-06 21:47:55 +03:00
Ilya Gorbunov bd4abaa8bf Improve JDK discovery for JDK9+ on Windows 2018-04-03 21:24:07 +02:00
Yan Zhulanow 4cab250f72 Pill: Add marker option for JUnit3RunnerWithInners test runner 2018-04-02 19:26:39 +03:00
Yan Zhulanow ae3d574473 Pill: Support Android tests 2018-04-02 19:26:35 +03:00
Nikolay Krasko dbab5bcc58 Delete bundled Kotlin plugin from different kind of AS jar/zip 2018-03-29 19:49:01 +03:00
Nikolay Krasko 70d236cb8d Always configure "idea.home.path" system variable
When TestLoggerFactory is initialized in tests it checks that variable
and it it's not present uses classpath to search for logger configuration.

If this search is unsuccessful a lot of exceptions are written to log:

java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
     	at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:96)
     	at com.intellij.testFramework.TestLoggerFactory.reconfigure(TestLoggerFactory.java:67)
2018-03-29 19:49:00 +03:00
Alexey Tsvetkov b420671a1d Introduce jps-compatible-base plugin to create necessary configurations
To avoid generating static accessors (via kotlinDslAccessorsSnapshot),
we need to create all necessary configurations during 'plugins'
block evaluation.
2018-03-26 16:09:29 +03:00
Alexey Tsvetkov 19a13b47ff Use java-gradle-plugin in buildSrc 2018-03-26 16:09:29 +03:00
Yan Zhulanow db20c1a38f Minor: Add Android Studio platform prefix in Android patchset branches to fix 'runIde' task for them 2018-03-22 04:52:59 +03:00
Yan Zhulanow 3932c745df Minor: Fix bundled Kotlin plugin removal in Android Studio bundle for macOS 2018-03-22 04:52:58 +03:00
Vyacheslav Gerasimov 40a765819a Remove unused versions.intellij-plugin property 2018-03-20 20:44:20 +03:00
Vyacheslav Gerasimov f55d137790 Upgrade shadow plugin to 2.0.2
Fixes warning 'Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.'
2018-03-20 20:44:20 +03:00
Ilya Chernikov dca7323627 [minor] fix asm sources connection 2018-03-19 17:17:10 +01:00
Ilya Chernikov 0e5c5af727 Add asm sources into idea sdk sources on the sdk preparation
restores navigation to asm sources in idea.
The asm sources could not be added separately, due to the gradle issue
https://issues.gradle.org/browse/GRADLE-3210
2018-03-19 15:47:19 +01:00
Ilya Chernikov 07b82ff1cc Fix noDefaultJar helper - remove the disabled jar from archives
before this fix switching to the gradle 4.6-rc1 caused the problem on
local publish task - kotlin-compiler.jar not found
2018-03-14 15:39:30 +01:00
Ilya Gorbunov 2891a6c954 Do not use java.home system property to locate JDK dependencies
It may point either to JDK/bin or to JRE/bin. Instead use JDK_16 and JDK_18 paths.
2018-03-13 08:52:15 +03:00
Ilya Gorbunov 62d409a9ba Use dex-method-list:3.0 from maven central
Update changed API usages and reformat code according to code style.
2018-03-09 19:39:42 +03:00
Yan Zhulanow 753319a89d Pill: Rewrite existing "idea.home.path" option if already set 2018-03-06 22:27:55 +03:00
Yan Zhulanow 799c0f28b7 Pill: Fix platform home directory (this fixes IDE tests) 2018-03-06 22:27:55 +03:00
Yan Zhulanow d1a4acb81f Pill: Add "IDEA (No ProcessCancelledException)" run configuration 2018-03-06 22:27:54 +03:00
Yan Zhulanow 6950c256ce Pill: Replace most of the hardcoded library coordinates with info from Gradle 2018-03-02 03:15:33 +03:00
Yan Zhulanow 6e65a4810e Make a project-wide embeddedComponents configuration for embedding external binaries to project artifacts 2018-03-02 03:15:32 +03:00
Yan Zhulanow 3c06dd7464 Pill, Minor: Move run configurations to the resources source set 2018-03-02 03:15:31 +03:00
Yan Zhulanow 3894afcf0b Pill, Minor: Remove the hardcoded repository, use the available utilities 2018-03-02 03:15:30 +03:00
Yan Zhulanow b24d87f7ed Pill: Merge two "root" and "non-root" Pill plugins 2018-03-02 03:15:30 +03:00
Yan Zhulanow 3da479c1d5 Pill, Small: Pass libraries to 'parse()' directly 2018-03-02 03:15:29 +03:00
Yan Zhulanow 07ede20dc5 Pill: Import KotlinPlugin artifact 2018-03-02 03:15:28 +03:00
Yan Zhulanow bc78d2c417 Pill: Move .iml files out of the module structure 2018-03-02 03:15:27 +03:00
Yan Zhulanow 4c12a4cb11 Pill: Add 'unpill' task 2018-03-02 03:15:25 +03:00
Yan Zhulanow e7a2743dcf Pill: Add "Generate All Tests" run configuration 2018-03-02 03:15:23 +03:00
Yan Zhulanow 55164660a8 Pill: Attach asm sources 2018-03-02 03:15:22 +03:00
Yan Zhulanow ad5a42459a Pill: Apply required changes to the default JUnit configuration on import 2018-03-02 03:15:21 +03:00
Yan Zhulanow 868ef262b8 Pill: Add JPS run configurations 2018-03-02 03:15:20 +03:00
Yan Zhulanow a0c105adbe Fixes to make the project compile when using Pill 2018-03-02 03:15:19 +03:00
Yan Zhulanow af60bcfb47 Initial Pill implementation
Pill is a Gradle-to-JPS model generator for compiler + compiler plugins + IDE project parts.
The generated project model does not know anything about Gradle and is fully operable using only JPS.
2018-03-02 03:15:16 +03:00
Vyacheslav Gerasimov b831b8ab92 Introduce intellijEnforceCommunitySdk flag to disable ultimate repo 2018-02-20 14:26:12 +03:00
Mikhael Bogdanov 31c63dea50 Add jvm target 10 tests on jdk 10 2018-02-16 14:22:04 +01:00
Vyacheslav Gerasimov 6959f6af75 Exclude lib subdirs from inlellij module
When lib/rt is added to test runtime some tests break
2018-02-14 18:42:10 +03:00
Alexey Tsvetkov 7cba035f80 Ensure tasks using android sdk or android jar have proper dependencies
A test task, that uses android dependency but does not depend on
a corresponding configuration, would fail when it was run after
'clean' task.
I've extracted 'useAndroidSdk', 'useAndroidJar' extensions
making it harder for a developer to forget to set up task dependencies.
2018-02-02 15:40:10 +03:00
Alexander Udalov 5338df6960 Do not depend on Shadow plugin in subprojects
Since buildSrc depends on the Shadow plugin, it's already in the
classpath of all build scripts
2018-02-01 19:38:31 +01:00
Alexander Udalov ad0cd7c176 Use the same JVM args for buildSrc as for main project 2018-02-01 19:38:30 +01:00