Ilya Gorbunov
2891a6c954
Do not use java.home system property to locate JDK dependencies
...
It may point either to JDK/bin or to JRE/bin. Instead use JDK_16 and JDK_18 paths.
2018-03-13 08:52:15 +03:00
Alexey Tsvetkov
e8f8488d54
Add diagnostic task to print all shadow jars in compile classpaths
2018-03-12 17:31:11 +03:00
Alexey Tsvetkov
ccd6263787
Use runtimeOnly dependency in kotlin-reflect
...
"kotlin-reflect" is a shadow jar which breaks incremental compilation
to avoid non-incremental builds, project should add
* `compileOnly` dependency on ":kotlin-reflect-api"
* `runtimeOnly` dependency on ":kotlin-reflect"
* `runtime` dependency is not recommended because it leaks into compile
* classpath
through transitive dependencies
2018-03-12 16:09:04 +03:00
Yan Zhulanow
6e65a4810e
Make a project-wide embeddedComponents configuration for embedding external binaries to project artifacts
2018-03-02 03:15:32 +03:00
Yan Zhulanow
07ede20dc5
Pill: Import KotlinPlugin artifact
2018-03-02 03:15:28 +03:00
Ilya Gorbunov
5c0cc5f799
Move deprecated kotlin-runtime and reduced runtime for tests into stdlib
...
Rename mock-runtime-for-test project to kotlin-stdlib:jvm-minimal-for-test
2018-02-26 17:11:11 +03:00
Ilya Gorbunov
c796e5338b
Move runtime.jvm sources to stdlib/jvm/runtime
...
Update path in kotlin-runtime
Update path in kotlin-mock-runtime-for-tests
2018-02-26 17:11:10 +03:00
Vyacheslav Gerasimov
9b4f1156d8
Generate dependencies.properties used by dokka build
...
was missing after migration to custom-build
2018-02-20 17:56:57 +03:00
Alexander Udalov
5338df6960
Do not depend on Shadow plugin in subprojects
...
Since buildSrc depends on the Shadow plugin, it's already in the
classpath of all build scripts
2018-02-01 19:38:31 +01:00
Vyacheslav Gerasimov
ec511f7a78
Use dependsOn for dependencies on dist & ideaPlugin tasks
...
instead `shouldRunAfter`
2018-02-01 18:11:25 +03:00
Ilya Chernikov
0a95e7b20f
Fix dependencies and artifacts contents after review
2018-01-30 17:06:16 +03:00
Ilya Chernikov
058ef31d7a
Fixes after review
2018-01-30 17:06:16 +03:00
Ilya Chernikov
7e21573cf4
Convert the rest of the project to intellij repo prepared in buildSrc
2018-01-30 17:06:13 +03:00
Ilya Gorbunov
7710cc455c
Refactor helper tasks for TeamCity builds
...
Invoke them properly from TeamCityBuild.xml acting as a temporary adapter.
Remove obsolete tasks from TeamCityBuild.xml.
Patch plugin version with regex replacement in plugin.xml.
2018-01-30 17:06:12 +03:00
Ilya Chernikov
80ad969f7b
Switch markdown usages to regular (teamcity) dependency
2018-01-30 17:06:09 +03:00
Ilya Chernikov
4a47fb3ffb
Switch protobuf usages to regular dependency
2018-01-30 17:06:09 +03:00
Ilya Chernikov
8f96157d7f
Switch kotlinx-coroutines usages to regular dependency
2018-01-30 17:06:09 +03:00
Ilya Chernikov
06c8cbf7d6
Convert all remaining plugin modules to intellij plugin
2018-01-30 17:06:07 +03:00
Ilya Chernikov
74411d9b9c
Convert all compiler modules to intellij plugin
2018-01-30 17:06:06 +03:00
Alexander Udalov
513f50785e
Use processResources task to copy compiler.xml to IDEA plugin
...
This fixes tests broken in 4b2d281bba and 95f9884799
2018-01-19 17:26:33 +01:00
Alexander Udalov
4b2d281bba
Include META-INF/extensions/compiler.xml into IDEA plugin
...
This fixes tests and IDEA run configurations broken in 95f9884799
2018-01-19 15:13:40 +01:00
Ilya Chernikov
945da50b61
Add kotlin-compiler-client-embeddable to the plugin's lib since...
...
it's used in the `KotlinJsr223JvmScriptEngine4Idea`
Fixes #KT-18613
2017-12-28 09:43:43 +01:00
Ilya Chernikov
075203ad33
Make embedding javaslang into compiler intransitive, as it was before gradle
...
fixes KT-21537
(cherry picked from commit cc5c1d5)
2017-12-04 14:47:53 +01:00
Alexey Andreev
063b4b6c18
Remove unused 'json-org' dependency (fix build)
2017-11-30 11:43:44 +03:00
Alexander Udalov
4f70983735
Update Proguard to 5.3.3
2017-11-29 11:58:38 +01:00
Dmitry Jemerov
dfe5eb65f9
Don't pack any kotlin stdlib classes into kotlin-plugin.jar
...
#KT-21395 Fixed
(cherry picked from commit 3fbc5ab)
2017-11-22 14:44:01 +01:00
Ilya Chernikov
0e5c443894
Move kapt3 embeddable to prepare folder
2017-11-20 22:59:40 +01:00
Ilya Chernikov
56542286eb
Bring back filtering of jna and shading of jline in embeddable compiler
...
they were lost during the migration to gradle
(cherry picked from commit 126a6a8)
2017-11-20 19:59:40 +01:00
Alexander Udalov
02981038f3
Split core into descriptors, descriptors.jvm, deserialization, descriptors.runtime
2017-11-10 18:58:31 +01:00
Ilya Gorbunov
093f796fc7
Write compiler and stdlib versions from gradle build
2017-11-01 17:26:18 +03:00
Ilya Gorbunov
40574949c7
Postpone some task configuration to execution phase
2017-10-24 19:59:45 +03:00
Alexey Tsvetkov
896dacc835
Fix android extensions maven dependencies
...
`kotlin-android-extensions-runtime` and `kotlin-android-extensions-compiler`
had `com.google.android:android` as a provided dependency, but
during transition to Kotlin Gradle build the dependency was declared
as `runtime` instead of `compileOnly`.
2017-10-17 18:35:28 +03:00
Sergey Igushkin
e94e62be98
Add android-extensions-compiler content to kotlin-android-extensions
2017-10-16 21:48:36 +02:00
Ilya Chernikov
431d47a605
Fix dependencies rewriting and gradle integration tests after applying rewriting
2017-10-16 21:48:36 +02:00
Ilya Chernikov
050403d15b
Use rewriteDeps task on the projects with runtime dependency on embeddable compiler...
...
which are using shaded dependencies
2017-10-16 21:48:35 +02:00
Ilya Chernikov
fb70227868
Move embeddable compiler shading logic to buildSrc, implement rewriteDeps task
...
the task takes a jar an a shading task (like the one that creates embeddable
compiler) and rewrites jar's dependencies to the shaded ones according the
the shade task.
2017-10-16 21:48:34 +02:00
Ilya Gorbunov
13d6e96c2f
Do not pack build.txt into jars, leave it only in artifact zip bundles
2017-10-16 18:48:09 +03:00
Dmitry Savvinov
fb03656e99
Effects: annotate functions in stdlib with contracts
...
build.xml was also changed to incorporate contracts in
mock-runtime-for-tests.jar, because it is using Standard.kt, which, in
turn, has contract-annotated functions.
==========
Introduction of EffectSystem: 17/18
2017-10-12 11:55:26 +03:00
Alexander Udalov
77765a8064
Do not run proguard by default, unless "kotlin.build.proguard" is "true"
2017-09-27 20:15:31 +03:00
Alexander Udalov
a7443adb65
Remove obsolete dependency on cli-parser
2017-09-27 15:47:35 +03:00
Ilya Chernikov
80ac8897ff
Fix idea plugin jar name and ultimate build
2017-09-22 17:41:52 +02:00
Ilya Gorbunov
4a3c8286a3
Fix developer organization in pom, make artifact manifests same as in libraries
2017-09-20 11:52:03 +02:00
Ilya Gorbunov
678caa5676
Setup project versions
...
Build parameters (with corresponding project properties):
- build.number (buildNumber) - build number from build server, goes into manifest, by default snapshot
- deployVersion (kotlinVersion, project.version) - version of artifacts, by default build.number
- bootstrap.kotlin.version (bootstrapKotlinVersion) - version of bootstrap compiler
2017-09-20 11:52:01 +02:00
Ilya Chernikov
df04efcf14
Rename artifacts, fix dependencies and artifact contents
2017-09-20 11:52:00 +02:00
Ilya Chernikov
d61695be55
Fix embeddable compiler dependencies, fix dist task, use runtimeJar...
...
dependencies where appropriate, some helpers refactoring
2017-09-20 11:52:00 +02:00
Ilya Chernikov
372138977d
Fix compiler archives config contents - fixes signing, add some utils
2017-09-20 11:51:58 +02:00
Ilya Chernikov
8d0694c129
Rename kotlin-plugin project to idea-plugin
2017-09-20 11:51:57 +02:00
Ilya Chernikov
776f1c8d19
Do not shade com.intellij in embeddable compiler
2017-09-20 11:51:45 +02:00
Ilya Chernikov
1862c78bdc
Fix projects for gradle integration tests
2017-09-20 11:51:44 +02:00
Ilya Chernikov
46884bec84
Add missing artifact, fix some deps and publishing
2017-09-20 11:51:38 +02:00