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
Mikhael Bogdanov
c2837cf7d9
Switch buildSrc to ASM7 Jetbrains ASM
2018-12-20 12:55:08 +01:00
Alexey Tsvetkov
7953a9154c
Register classpath as inputs of SmartJavaExec tasks
2018-12-13 15:39:39 +03:00
Vyacheslav Gerasimov
cd614b5bf8
Build: fix missing dx sources
2018-12-11 21:59:52 +03:00
Vyacheslav Gerasimov
508fe28781
Build: Add NoDebugJavaExec to filter out debugger arguments added by Idea
...
Workaround for IDEA-200192:
IDEA makes all JavaExec tasks not up-to-date and attaches debugger making our breakpoints trigger during irrelevant task execution
2018-12-05 16:23:25 +03:00
Vyacheslav Gerasimov
35c2de08b0
Build: Add UtilityJavaExec task needed to avoid JavaExec tasks
...
This task does the same as original JavaExec task
We avoid using JavaExec tasks due to IDEA-200192: IDEA makes all JavaExec tasks not up-to-date and attaches debugger making our breakpoints trigger during irrelevant task execution.
2018-12-04 15:38:56 +03:00
Vyacheslav Gerasimov
99c149bb8b
Build: Update url for android build tools
2018-12-04 15:38:56 +03:00
Vyacheslav Gerasimov
3ee8cae48d
Build: Update cache redirector url list
2018-12-04 15:38:56 +03:00
Sergey Rostov
74f6c8ac5c
Move resources: remove includes from src to resources, include resource folder in custom build scripts
2018-11-30 15:01:02 +03:00
Nikolay Krasko
a0c25c7a87
Revert running AS in internal mode
...
Patch isn't needed anymore, because it was resolved in Android Studio.
Reverts: 11bcd84f57
2018-11-22 13:07:58 +03:00