Commit Graph

195 Commits

Author SHA1 Message Date
Yan Zhulanow 20299f6224 Pill: Allow '18x-SNAPSHOT' versions 2018-07-12 20:36:40 +03:00
Yan Zhulanow 57133af5f9 Pill: Support Android Studio bunches in "IDEA" run configuration 2018-07-12 20:36:38 +03:00
Zalim Bashorov 35b2b762cd Pill: fix name of ignored kotlin-scripting compiler plugin 2018-07-10 21:53:59 +03:00
Nicolay Mitropolsky 80f022c3d5 182: IDEA sdk set to 182.3458.5 2018-06-29 16:42:44 +03:00
Alexey Tsvetkov 25e6b76238 Build: disable jar compression for local builds
This speeds ups jar creation twice, which is significant for local
incremental builds when jar creation can dominate compilation time.

Changes in stripMetadata are required because putting entry from not-stripped
jar caused failures when compression was disabled (because size and crc
are actually changed during metadata removal; don't know why it works
with compression).
2018-06-27 23:56:26 +03:00
Vyacheslav Gerasimov 01db78d776 Build: Introduce Project extension properties for source sets 2018-06-22 21:42:30 +03:00
Vyacheslav Gerasimov 5ec535b680 Build: Rename File helper for creating file from pathes list to fileFrom 2018-06-22 21:42:12 +03:00
Vyacheslav Gerasimov 37ed8e2617 Build: Reformat CommonUtil.kt 2018-06-22 21:42:12 +03:00
Nikolay Krasko 35fdfc9f05 Fix running inner classes from console
#KT-24961 Fixed
2018-06-20 19:52:33 +03:00
Yan Zhulanow 83ec49db31 Pill: Ignore kotlin-scripting compiler plugin from compiler arguments 2018-06-20 01:00:25 +03:00
Nikolay Krasko 0f88565b93 Auto-add pattern for running inner tests in Gradle (KT-24961)
Since Gradle 4.7 there's a more strict pattern check. Simple include
trick doesn't work anymore.

Probably modification of TestSelectionMatcher.java in
https://github.com/gradle/gradle/commit/c2067eaa129af4c9c29ad08da39d1c853eec4c59#diff-e92afe807d7ea74cc9ab0dcef30efc93
is responsible for the new behaviour.

 #KT-24961 Fixed
2018-06-18 17:18:43 +03:00
Nikolay Krasko 1f2d6da770 Minor: fix formatting and warnings in tasks.kt 2018-06-18 17:18:38 +03:00
Vyacheslav Gerasimov aae0f5123e Build: Specify metadata source for ivy repositories
Otherwise composite build with Kotlin Native fails unable to resolve metadata files
2018-06-13 20:43:16 +03:00
Vyacheslav Gerasimov 992a31af88 Build: introduce javaPluginConvention extension on project
`ExtensionAware.the<T>()` introduced in gradle 4.7 made existing calls `the<JavaPluginConvention>()` invalid (on wrong receiver)
2018-06-13 19:43:03 +03:00
Ilya Gorbunov 0065a74c7e Update to gradle 4.7, fix nullability issue in buildSrc
JavaExec args list is nullable now, so use orEmpty before copying it.
2018-06-13 19:43:03 +03:00
Vyacheslav Gerasimov 4dbcb2e50e 182: Switch 182 to SNAPSHOT builds (until next EAP)
Android plugin 3.1 is merged to IJ 182, we need to provide compatible plugin
2018-06-09 14:44:50 +03:00
Ilya Chernikov 3171968efc Fix native-platform repo after it was suddenly moved in the gradle repo 2018-06-01 17:01:35 +02:00
Nikolay Krasko c5b3092c64 Use same amount of memory for all builds and remove tasks.kt.173 2018-05-29 21:40:31 +03:00
Yan Zhulanow ece6141891 Pill: Fix module-related path rendering 2018-05-24 01:06:30 +03:00
Nicolay Mitropolsky eeab271eff 182: IDEA-SDK fixed to 182.2371.4 2018-05-18 21:24:59 +03:00
Ilya Gorbunov 8ab49a70e9 Make dexMethodCount task incremental unless teamcity output is required
Declare details file as output, circumvent task up-to-date check if teamcity statistics output is required.
2018-05-16 17:48:05 +03:00
Nikolay Krasko c35f8d621a Use separate dirs in pill for running IDE to avoid test misbehaviour 2018-05-16 12:55:08 +03:00
Yan Zhulanow 9277d6a160 Pill: Import Kotlin facets 2018-05-15 16:29:52 +03:00
Yan Zhulanow 215053efc9 Pill: Fetch kotlin compilation arguments 2018-05-15 16:29:51 +03:00
Yan Zhulanow 923fbaaca6 Pill: Fix launching debuggable Android Studio on 'as' bunches 2018-05-15 16:29:50 +03:00
Yan Zhulanow 614033d64c Pill: Import all defined source sets, not only "src" and "test" 2018-05-15 16:29:49 +03:00
Yan Zhulanow 2bf439d3fb Pill: Attach gradle-api dependency 2018-05-15 16:29:48 +03:00
Yan Zhulanow 33a8843d34 Pill: Download Android jars only if pill.android.tests option is set 2018-05-15 16:29:46 +03:00
Yan Zhulanow 5fc18755ca Pill: Exclude 'build' dirs from excluded projects 2018-05-15 16:29:46 +03:00
Yan Zhulanow ba5836d666 Pill: Introduce pill{} extension to set extended Pill configuration
Also introduce the flavor concept which allows to specify what part of Kotlin project should be imported.
2018-05-15 16:29:45 +03:00
Alexey Tsvetkov 61edfaced5 Speed up pill
Pill runs 10x faster on my machine after the change
2018-05-03 18:03:18 +03:00
Ilya Gorbunov 7438d12ad7 Move builtins generators to their own source set
Make them depend on bootstrap stdlib.
This is to prevent recompiling the entire project when we need just to
generate builtins sources.
2018-04-28 17:38:13 +03:00
Ilya Gorbunov a704a1b6d0 Allow to create new sourcesets with our helper
New sourceSet is created if it doesn't exist, instead of being silently ignored.
Fix receiver of `none()`: it was applied on sourceSetName rather than on the sourceSet,
therefore it was a no-operation.
2018-04-28 17:35:30 +03:00
Vyacheslav Gerasimov 8c88ac69df Cleanup .181 bunch files 2018-04-27 18:25:21 +03:00
Vyacheslav Gerasimov bc403ce744 Switch to 181 platform 2018-04-27 18:25:17 +03:00
Nikolay Krasko 82a21b3955 Move Kotlin internal actions to Internal menu and unify modes (KT-23975)
#KT-23975 Fixed
2018-04-27 12:16:36 +03:00
Vyacheslav Gerasimov 72c9dc7d35 Build: Remove buildSrc/intellij-sdk/build.gradle.kts.182 2018-04-26 19:33:01 +03:00
Vyacheslav Gerasimov c10c5a44d1 Remove exclusions from kotlin-stdlib dependency of published artifacts
Log warning about it, this is probably a project configuration bug and should be checked.
2018-04-26 16:11:56 +03:00
Alexey Tsvetkov 137698d967 Minor: move BuildTimeReporter from buildSrc to report.gradle.kts 2018-04-19 21:03:32 +03:00
Alexey Tsvetkov 7606cfd84f Print short build time summary after build 2018-04-19 18:23:10 +03:00
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