Vyacheslav Gerasimov
07b0129a6a
Build: Build android-dx and intellij-sdk repo to dependencies/repo
...
From KOTLIN-CR-2801 reasons to move:
- I've changed repo layout and build process in incompatible way and decided to change location
- It was difficult to find and annoying to locate, it was very deep and long path
- I think dependencies/repo path is very easy to remember and find
- It was called dependencies some time ago
2019-03-20 21:29:09 +03:00
Vyacheslav Gerasimov
ef159a4fc9
Minor: Fix typo in build error message
2019-03-20 21:17:27 +03:00
Vyacheslav Gerasimov
9f64e0fa69
Build: Remove intellijEnforceCommunitySdk flag, use currentIde instead
...
Setup ultimate repositories only when currentIde is Intellij
2019-03-20 21:17:27 +03:00
Nikolay Krasko
08b93b0ba0
Make internal mode controlled from execution arguments
2019-03-13 12:55:00 +03:00
Nikolay Krasko
8e7145d6ff
Allow to pass addition system properties to runIde task
2019-03-13 12:54:58 +03:00
Yan Zhulanow
5564760ebf
Pill: Recognize non-default test source roots
2019-03-06 03:30:55 +03:00
Vyacheslav Gerasimov
f7428e7161
Build: Add diagnostic for publish() helper
2019-02-27 13:21:17 +03:00
Vyacheslav Gerasimov
f4c157a9bc
Build: properly remove artifact from archives in runtimeJar helper
2019-02-27 13:21:17 +03:00
Sergey Rostov
63dca7b3b5
Build: exclude annotations.jar from Intellij
2019-02-27 09:11:42 +03:00
Yan Zhulanow
a21802ee51
Pill: Fix new annotations-13.0 configuration
2019-02-25 14:43:59 +03:00
Yan Zhulanow
bff3f28a72
Pill: Fix IdeaPlugin artifact configuration
2019-02-25 14:43:58 +03:00
Vyacheslav Gerasimov
7d5158c439
Build: Fix internal api usage in DistModelBuilder
...
MapFileTree interface changed in gradle 5.1
2019-02-19 20:06:24 +03:00
Vyacheslav Gerasimov
333eb9701c
Build: Fix JPS importer (DistModelBuilder) for Gradle 5.0
2019-02-18 20:00:05 +03:00
Vyacheslav Gerasimov
3d0cd57e31
Build: Drop testDistProjects, root :dist task was already in list
2019-02-18 20:00:05 +03:00
Vyacheslav Gerasimov
a4cfd37203
Minor: Reformat dependencies.kt
2019-02-18 19:59:37 +03:00
Vyacheslav Gerasimov
294ba51d0b
Build: Drop obsolete dependency handlers
2019-02-18 19:59:37 +03:00
Vyacheslav Gerasimov
25128f07f2
Build: Reformat artifacts.kt & fix some warnings, drop some dead code
2019-02-18 19:59:37 +03:00
Vyacheslav Gerasimov
df9ca1b6d9
Build: Update shadow plugin version to 4.0.3
2019-02-18 19:58:56 +03:00
Ilya Gorbunov
811566bbe0
Drop obsolete artifacts kotlin-stdlib-jre7/8
2019-02-18 18:44:35 +03:00
Andrey Uskov
59bcd608a1
Minor. Remove useless code related to IJ 173 and AS 3.1 in build scripts
2019-02-17 12:29:01 +03:00
Yan Zhulanow
a9eaf1c345
Pill: Rename Pill configurations, make its name not capital
2019-02-15 21:23:27 +03:00
Dmitriy Dolovov
3df5123d0d
CIDR: New way of building CLion and AppCode plugins
...
- Move `prepare/cidr-plugin`, `prepare/clion-plugin` and `prepare/appcode-plugin` modules from `kotlin` to `kotlin-ultimate` project
- Move `versions.clion.*` and `versions.appcode.*` properties from `kotlin` to `kotlin-ultimate` project
- Drop `cidr183` bunch in `kotlin` project
- Drop useless `cidrPluginDir`, `clionPluginDir`, `clionSandboxDir`, `appcodePluginDir`, `appcodeSandboxDir` Gradle properties in `kotlin` project
- Drop `cidrPlugin` Gradle task in `kotlin` project
- Total: Add ability to build `kotlin-ultimate` both as part of multi-project build with `kotlin` project, and as a standalone build
2019-02-14 12:28:57 +07:00
Nikolay Krasko
52c46811ff
Enable JPS test runner for new JPS build (KT-29368)
...
#KT-29368 Fixed
2019-01-30 01:13:23 +03:00
Sergey Rostov
f5b7b5990f
Build: fix PILL for JPS build.
2019-01-28 13:43:09 +03:00
Sergey Rostov
30cc70d4c3
JPS build: move idea configuration to separate script
2019-01-28 13:43:09 +03:00
Sergey Rostov
ca47247e5d
Build: got rid of useBootstrapStdlib flag (replaced with jpsBuild flag)
2019-01-28 13:43:08 +03:00
Sergey Rostov
82e56f9cdd
Build: fail on attempt to include anntations.jar from intellij
2019-01-28 13:43:08 +03:00
Sergey Rostov
78630fec41
Build: add annotations-13.0.jar to compilerManifestClassPath
...
This is required since intellijCore/annotations.jar was removed from
koltin-compiler.jar
2019-01-28 13:43:08 +03:00
Sergey Rostov
2dad03f817
JPS Build: Temporary solution for creating IDEA artifacts settings
...
This script traverses all Gradle copy task, build virtual files model
and generates IDEA artifacts configuration based on this. Unfortunately
this is not fully working and needs manual fixing, so the actual artifacts
configurations are commited by hand for now. By the way, this script also
visits copy task's internals which leads that Gradle generates
manifests in `build` folders during IDEA import. This files are referenced
in artifacts configurations. So, despite the fact that artifacts
configurations created by this script is not used, we need to run them
to generate required manifests.
This solution will be replaced with DSL that produces both Gradle
copy tasks and IDEA artifacts configuration which is coming soon.
2019-01-28 13:43:07 +03:00
Sergey Rostov
9fa8a80c6c
JPS build: add JUnit run configuration and defaults
...
#KT-29335 Fixed
#KT-29211 Fixed
2019-01-28 13:43:07 +03:00
Sergey Rostov
f2fd28e84f
JPS build: add idea settings to build.gradle.kts
...
#KT-29323 Fixed
2019-01-28 13:43:07 +03:00
Sergey Rostov
21ae6e272d
Build utils: Kotlin DSL for idea-ext plugin
2019-01-28 13:43:07 +03:00
Sergey Rostov
1031edc933
JPS build flag: exclude modules that we are currently cannot compile with jps
2019-01-28 13:43:07 +03:00
Vyacheslav Gerasimov
b78627f572
Build: Merge sources to single jar (idea can't handle multiple)
2019-01-28 01:27:53 +03:00
Vyacheslav Gerasimov
f58acbeef5
Build: implement useBootstrapStdlib flag
...
Excludes stdlib projects from build and uses bootstrap stdlib artifacts
#KT-29205
2019-01-21 21:09:40 +03:00
Vyacheslav Gerasimov
b2db027ded
Add constant for AS 3.5 to IdeCompatibilityDsl
2019-01-18 20:09:10 +03:00
Vyacheslav Gerasimov
b525146009
Build: Switch to prebuilt protobuf-lite from teamcity repo
...
#KT-29202
2019-01-17 20:45:11 +03:00
Vyacheslav Gerasimov
c7ab69829e
Build: Convert protobuf to includable build with maven publication
...
#KT-29202
2019-01-17 20:45:11 +03:00
Vyacheslav Gerasimov
6a3e5c4c94
Build: Move protobuf projects to subdirectory
...
#KT-29202
2019-01-17 20:45:11 +03:00
Dmitriy Dolovov
3c2d026128
CIDR: Always relax upper limit of product version in K/N plugin for non-public CIDR builds
...
Issue #KT-29338:fixed
2019-01-17 17:30:16 +07:00
Vyacheslav Gerasimov
13d87e8eae
Remove as31 bunch files
2019-01-14 21:29:02 +03:00
Mikhail Zarechenskiy
d5ebe2e66a
Reorganize dependencies around kotlin-compiler.jar
...
#KT-26807 Fixed
2019-01-11 00:14:23 +03:00
Vyacheslav Gerasimov
683ed4eb95
Build: Add asm-7 sources
...
#KT-29044 Fixed
2018-12-28 21:18:33 +03:00
Vyacheslav Gerasimov
ad85707a2d
Build: move buildscripts & versions from root directory to ./gradle
...
javaInstrumentation.gradle.kts
report.gradle.kts
versions.gradle.kts
and all versions.properties
2018-12-28 21:18:33 +03:00
Vyacheslav Gerasimov
38d836dece
Build: Don't instrument NotNulls during form instrumentation
2018-12-26 16:39:24 +03:00
Vyacheslav Gerasimov
f40635c2d2
Reformat instrument.kt
2018-12-26 16:39:23 +03:00
Ilya Gorbunov
37e706ef12
Remove fixed default values of org.gradle.* properties
...
To allow overriding them with local host gradle.properties, for example to enable locally 'org.gradle.parallel=true'.
2018-12-26 05:17:08 +03:00
Ilya Gorbunov
7f8263ec4e
Fix gradle default encoding to UTF-8
...
To avoid platform-dependent filtering charset in copy tasks.
2018-12-26 05:17:08 +03:00
Dmitriy Dolovov
073c02c0f5
CIDR: Ability to relax upper limit of product version in K/N plugin
...
Issue #KT-29006:fixed
2018-12-25 18:54:21 +07:00
Max Medvedev
ef49e792b0
AppCode/CLion: patch java plugin xmls in AppCode as well
2018-12-21 23:43:17 +03:00