Commit Graph

508 Commits

Author SHA1 Message Date
Vyacheslav Gerasimov 5724c47bcf Build: Fix uri parsing on windows in publication repo configuration 2020-06-19 00:35:55 +03:00
Vyacheslav Gerasimov 1f66049a1e Build: Fix plugin marker publication to a remote repository 2020-06-18 16:57:39 +03:00
Vyacheslav Gerasimov 063c973eaa Build: Rename empty marker jar to avoid collision with main jar 2020-06-15 00:32:04 +03:00
Vyacheslav Gerasimov a5e9e1e9be Build: Specify Locale.ROOT for humanReadableName generation 2020-06-14 20:31:28 +03:00
Vyacheslav Gerasimov f9ec4f7d5c Build: Generate human readable project name from gradle project id 2020-06-14 20:31:27 +03:00
Vyacheslav Gerasimov eeb2f7d3d1 Build: Migrate plugin markers to maven-publish publication 2020-06-14 20:31:27 +03:00
Vyacheslav Gerasimov f4e8c21309 Build: Introduce new software component for publishing
Some of our published modules don't have javaComponent
2020-06-14 20:31:27 +03:00
Vyacheslav Gerasimov e3111730ac Build: Extract publishing logic to the KotlinBuildPublishingPlugin 2020-06-14 20:31:27 +03:00
Vyacheslav Gerasimov 40dfb2a438 Build: Add additional configuration lambda to the publish helper 2020-06-14 20:31:26 +03:00
Vyacheslav Gerasimov e3f1ddefd0 Build: Add modularJar helper 2020-06-14 20:31:26 +03:00
Vyacheslav Gerasimov d711086be2 Build: Publish Kotlin artifacts with maven-publish plugin 2020-06-14 20:31:25 +03:00
Vyacheslav Gerasimov b85b733e42 Build: Remove explicit legacy maven plugin application 2020-06-14 20:31:25 +03:00
Vyacheslav Gerasimov 410c5f3e69 Build: Remove artifact configuration out of lazy lambda
It may not be executed leading to misconfiguration
2020-06-14 20:31:25 +03:00
Nikolay Krasko 256bd8d594 202: Disable check for broken plugins in tests
Otherwise is is an exception in PluginManagerCore
because of brokenPlugins.txt file.
2020-06-10 12:39:28 +03:00
Nikolay Krasko cc709a2ef9 202: Update dependencies 2020-06-10 12:39:27 +03:00
Vladimir Ilmov 9719391c82 (PerformanceTest) improvements in profiler snapshots
support for typing per inspection tests
 gradle arguments fixed to allow running tracing from cli
 Profiler disabled for warmup phases.

 relates to #KT-38653
2020-06-08 09:05:24 +02:00
Vyacheslav Gerasimov 563981808d Build: Move dependencies cleanup to corresponding task action
Do cleanup only before dependencies unpacking to avoid tasks which are
always not up-to-date
2020-06-02 16:42:38 +03:00
Vyacheslav Gerasimov f8b423046e Build: Don't build idea sources for teamcity builds 2020-06-02 16:42:38 +03:00
Yunir Salimzyanov a256e75909 Run muted non-flaky tests and invert their result (KTI-216)
Cause: if mutedInDatabase test is failing then test result = success
else test result = failure (because now it should be unmuted)
2020-05-30 22:50:33 +03:00
Nikolay Krasko 5e7c82ea01 Fix building dist with JDK 13 (KTI-262)
Return to bootstrap version, that was abandoned because of KT-37235.
It looks like build is fine now.
2020-05-29 20:17:55 +03:00
Vyacheslav Gerasimov 097b93cb2a as41: Setup bunch config and compatibility dsl for AS 4.1 2020-05-27 18:46:57 +03:00
Vyacheslav Gerasimov d6011103e2 Build: Remove bunch files with intellijUltimateEnabled=false for AS 2020-05-27 18:46:57 +03:00
Yan Zhulanow 066b6d830f Put IDE plugin dependency artifact building/publishing under a flag 2020-05-27 02:38:44 +09:00
Yan Zhulanow dea902551d Publish artifacts needed for the kotlin-ide repository 2020-05-27 02:38:44 +09:00
Yan Zhulanow a9d0c16fef Add 2020.2 bunch configuration 2020-05-27 02:38:44 +09:00
Vyacheslav Gerasimov 64fcbbc89f Build: buildSrc should inherit build cache setup of parent project
https://docs.gradle.org/current/userguide/build_cache.html#sec:build_cache_composite
2020-05-26 10:39:27 +03:00
Vyacheslav Gerasimov 5bca9c488e Build: Don't unpack ivy repo artifacts if target directory exists 2020-05-26 07:18:09 +03:00
Ilya Chernikov 9d98c90881 Drop coroutines from compiler jar, add appropriate plugin dependency
#KT-30778 fixed
2020-05-24 19:03:42 +02:00
Svyatoslav Kuzmich 3d5003d476 [JS_IR] Use new plugin to build Kotlin/JS stdlib with IR compiler
- Switch to building stdlib with bootstrap compiler since IR is stable
  enough
- Build stdlib with coreLibs by default
- Include JS IR stdlib to kotlin distribution
2020-05-08 10:37:48 +03:00
Ilya Gorbunov 86d098b8ad Infer internal artifacts bootstrap repository
This allows taking these artifacts from buildserver if the
bootstrap itself is taken from there.
2020-04-29 04:49:34 +03:00
Nikolay Krasko 4230a17427 Revert "Force bootstrap stdlib in modules that used in composite build"
This reverts commit ad76562c
2020-04-27 15:58:38 +03:00
Nikolay Krasko ad76562cbc Force bootstrap stdlib in modules that used in composite build 2020-04-27 15:36:49 +03:00
Ilya Muradyan 887d6eb197 Fix writeIvyXml to be independent from system charset (#3319)
Co-authored-by: Ilya Muradyan <ilya.muradyan@jetbrains.com>
2020-04-21 15:58:55 +03:00
Mikhail Bogdanov acb4d6cf63 Update android-sdk dependency management. Add Emulator 2020-04-09 17:04:41 +02:00
Dmitriy Dolovov 503c06a965 Turn on Idea tooling debugging on IDE launch 2020-04-09 09:46:32 +07:00
Mikhail Glukhikh 1bab27c4c1 Add immutable collections to compiler dist (required for FIR) 2020-04-08 16:10:34 +03:00
Sergey Rostov e82b8a1bdc buildSrc, kotlin-dsl plugin: suppress experimentalWarning
This warning is about https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:kotlin-dsl_plugin.

It appears after we are strating using our bootstrap plugin for buildSrc
 too. It is unlikely that new compiler will broke build scripts
 compilation for our project, so we can suppress it.
2020-04-08 15:15:16 +03:00
Ilya Gorbunov d115792d9a Move a couple ad-hoc properties to buildSrc/BuildPropertiesExt 2020-04-07 10:54:34 +03:00
Vyacheslav Gerasimov 1ab23abe93 Build: Write plugin version the same way CI does 2020-04-06 23:52:01 +03:00
Vyacheslav Gerasimov ca0f59dbc4 Use linux endings in generated tests 2020-04-06 14:06:15 +03:00
Ilya Gorbunov 055a1921cc Update kotlin-build-gradle-plugin to 0.0.17 2020-04-02 05:21:10 +03:00
Ilya Gorbunov 1727fcf1a8 Make some build properties extensions in buildSrc
They are used only in main build's .gradle.kts files, so it is more
flexible to define them as extensions - no need to republish
kotlin-build-gradle-plugin when another such property is to be added.
2020-04-02 05:21:10 +03:00
Ilya Gorbunov 4a8dbcccee Advance bootstrap to 1.4.0-dev-5087
Temporary fix kotlin gradle plugin version in buildsrc at 1.4.0-dev-1818, otherwise it causes problems in main buildscripts, when compiled with -dev-5087 (KT-37235).
2020-03-31 16:02:32 +03:00
Ilya Gorbunov 8447701d74 Use stable order and constant timestamps in merged sources jar
To avoid up-to-date fights between several kotlin working copies.
2020-03-27 19:45:11 +03:00
Kirill Shmakov 576948eded Share test debugging between IDEA and AS 2020-03-25 17:46:40 +03:00
Vladimir Dolzhenko 5441685cb4 Provide idea.platform.prefix in run configurations for 201+ 2020-03-24 14:26:35 +00:00
nataliya.valtman 915e6107d1 make Bootstrap option available in buildSrc 2020-03-23 08:43:06 +03:00
Vyacheslav Gerasimov 7dc24a13e4 Build: Make ProGuard task cacheable
Exclude jdk files form libraries input. Instead add jdk major version
to inputs. JavaCompile task acts same to ignore fluctuations in JDK
implementations since api should remain same
2020-03-18 22:32:07 +03:00
Vladimir Dolzhenko 2e20cdf2e6 Update to 201.6487-EAP-CANDIDATE-SNAPSHOT 2020-03-18 18:08:54 +01:00
Vyacheslav Gerasimov 338dae7a83 Build: Apply checkCacheability.gradle.kts to buildSrc 2020-03-10 20:34:05 +03:00