Commit Graph

225 Commits

Author SHA1 Message Date
Yan Zhulanow 6d73aa29e0 Pill: Understand dependencies with the 'apiElements' configuration name as module dependencies 2018-10-02 20:03:01 +03:00
Mikhael Bogdanov 29568d2f48 Add test configuration for JDK_11 2018-09-26 17:05:55 +02:00
Vyacheslav Gerasimov 60758b86ee as33: Delete unnecessary bunch for itellij-sdk build.gradle.kts 2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov 1f0e9f24c5 Fix noDefaultJar helper for gradle 4.10
artifacts don't implement ArchivePublishArtifact in gradle 4.10
2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov 1109b795da Build: upgrade gradle to 4.10 2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov 10810aa90f Build: upgrade gradle to 4.8, fix ivy artifacts publication
Fix kotlin gradle plugin compilation against gradle 4.8 api
Internal ivy artifacts api has been changed, there is no longer DefaultIvyArtifact
2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov c768130f89 Remove gradle/ext-releases-local repo, native platform is now available on jcenter 2018-09-12 15:52:15 +03:00
Ilya Chernikov d7f45253d5 Improve noDefaultJar behaviour:
- drop appropriate artifact from all configurations
- clean actions - in addition to task disabling
2018-09-07 18:47:18 +02:00
Ilya Gorbunov cf1b2bedf4 Support bootstrapping from TeamCity releases builds
that have build.number different from the version of artifacts.
2018-08-31 00:42:40 +03:00
Ilya Gorbunov 38d8451d1c Remove unused and unnecessary classpath entries in compiler tests
Also remove obsolete additional path arguments for runIde task.
2018-08-30 14:58:01 +03:00
Yan Zhulanow 01d5e227f0 Pill: Fix resource roots importing 2018-08-24 15:29:55 +05:00
Yan Zhulanow b7873edf30 Pill: Fix issue with clashing sdk-common.jar and sdk-common-26.1.2.jar
Move sdk-common.jar to the end of the classpath
2018-08-24 15:29:55 +05:00
Yan Zhulanow 267e239e52 Pill: Refactoring, introduce a generic predicate in DependencyMapper 2018-08-24 15:29:55 +05:00
Yan Zhulanow 463f8dae6a Pill: Add '-ea' option to the default JUnit configuration if missing 2018-08-24 04:28:15 +05:00
Vyacheslav Gerasimov 053a4b714c Refactor :kotlin-compiler project to allow project(":kotlin-compiler") dependencies 2018-08-23 21:55:26 +03:00
Sergey Igushkin a71c66a82f Fix the SourceSet.projectDefault() extension adding sources to resources
The `include` calls were effectively made on the `resources`
`SourceDirectorySet`, which meant including '**' from 'src' as well.

Since the 'SourceDirectorySet' API is quite limited and does not support
specifying includes/excludes separately, configure the
`ProcessResources` task instead.
2018-08-21 18:05:52 +03:00
Alexey Sedunov c234b40670 Misc: Update AS3.3 version to 182.4928781 2018-08-08 14:26:30 +03:00
Yan Zhulanow fcbcabd3a2 Pill: Generate iml files more consistently with IDEA 2018-08-07 11:55:24 +03:00
Yan Zhulanow 014b812a31 Pill: Remove -SNAPSHOT suffixes for artifact JAR file names 2018-08-07 11:55:24 +03:00
Yan Zhulanow 42d00c144b Pill: Fix compilation, forcibly move the annotations-13 dependency to the end of classpath 2018-08-07 11:55:24 +03:00
Vyacheslav Gerasimov 57963d2e03 Remove asm-shaded sources downloading code since it is not published anymore 2018-08-03 21:29:18 +03:00
Ilya Gorbunov c9a784ebb0 Deprecate projectDist and make it a temporary alias for default configuration 2018-08-03 09:37:38 +03:00
Vyacheslav Gerasimov 5c177a86fe Use snapshot repository if platform version ends with SNAPSHOT 2018-08-02 23:15:28 +03:00
Vyacheslav Gerasimov 8ccfdc70ac as33: Add private bintray repo to build against custom AS 3.3 build 2018-08-02 20:53:17 +03:00
Vyacheslav Gerasimov 8fc0c1d7b0 as33: Add AS 3.3 bunchset built with AS 3.3 C4 2018-08-02 20:53:17 +03:00
Vyacheslav Gerasimov 0103c0d2fd Switch to 182 platform 2018-08-02 18:17:06 +03:00
Nikolay Krasko bdbe6d617c Remove setting kotlin internal mode in pill configurations 2018-07-19 16:37:28 +03:00
Yan Zhulanow 094cb6be1d Pill: Add an order entry for module's sources 2018-07-18 22:05:36 +03:00
Yan Zhulanow 2049d00ca8 Pill: Fix packages to find tests in for default test run configurations 2018-07-18 22:05:36 +03:00
Yan Zhulanow e243dd18c1 Pill: Add "-Duse.pill=true" parameter to the default test configurations
This switches 'JUnit3RunnerWithInners' to the JPS mode.
2018-07-18 22:05:36 +03:00
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