Vyacheslav Gerasimov
6b3f341ab5
Build: Publish jcabi-aether-1.0-SNAPSHOT to kotlin-dependencies as 1.0-dev-3
...
This allows to remove dependency on snapshot repository
https://oss.sonatype.org/content/repositories/snapshots
2019-05-29 15:08:05 +03:00
Vadim Brilyantov
01a05a5495
Move daemon jar from compiler
2019-05-17 15:51:52 +03:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Ilya Chernikov
a65dafc37d
Move scripting support classes to the scripting compiler impl module
2019-04-17 22:03:58 +02:00
Ilya Chernikov
4f135a5fe5
Move REPL implementations to the scripting compiler impl module
2019-04-17 22:03:57 +02:00
Vyacheslav Gerasimov
92248d609f
Build: Centralize build logic for kotlin-plugin in :prepare:idea-plugin
2019-04-10 17:54:06 +03:00
Ilya Chernikov
ffd1633e3e
Write tests for dynamic versions with ivy and maven resolvers
...
and refactor tests
#KT-27051 fixed
this commit is just a confirmation of the fix: either it worked
from the beginning, or was fixed by some unrelated change
2019-03-20 21:19:24 +01:00
Vyacheslav Gerasimov
a42f607ecf
Build: Fix artifacts signing for maven central
...
With gradle > 5.0 `publish()` helper call should be done before
`noDefaultJar()` or any other artifact hacks, otherwise singing plugin doesn't sign any jars
2019-02-27 13:21:17 +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
Ilya Chernikov
731df8d3cc
Proper handling of the scripting compiler plugin in JSR-223 with daemon
2019-02-10 13:33:21 +01:00
Ilya Chernikov
be95acd897
Load scripting plugin explicitly in repl tests and JSR-223
2019-02-10 13:33:21 +01:00
Ilya Chernikov
2f52df0640
Initialize scripting plugin in other tests
2019-02-10 13:31:57 +01:00
Ilya Chernikov
298aaf999e
[minor] fix function name typo
2019-01-28 13:15:36 +01: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
Mikhail Zarechenskiy
d5ebe2e66a
Reorganize dependencies around kotlin-compiler.jar
...
#KT-26807 Fixed
2019-01-11 00:14:23 +03:00
Ilya Chernikov
02f2c941c8
Add import support to main-kts, with test
2019-01-10 10:59:32 +01:00
Ilya Chernikov
9e5d04b836
Add generic interfaces to dependency resolvers
2018-12-13 18:00:11 +01:00
Andrey Uskov
abadfbb632
Fix dependencies after removal of build scripts bunches
2018-12-06 22:58:39 +03:00
Andrey Uskov
c85f56a0a8
Remove some bunches for build scripts.
2018-12-06 19:44:09 +03:00
Cuihtlauac ALVARADO
a9280cdbcd
Add support for proxies to scripts
...
Update jcabi-aether dependency from 0.10.1 to 1.0-SNAPSHOT. In order to
do that, add https://oss.sonatype.org/content/repositories/snapshots to
the repositories in tools/kotlin-script-util/build.gradle.kts
Script dependencies are resolved using jcabi-aether. Unfortunately "stable"
release (0.10.1) does not support proxies. Therefore, script dependencies
are not pulled behind a proxy. Issue is fixed in SNAPSHOT release of
jcabi-aether.
FIXED: KT-22363
2018-11-28 09:30:05 +01:00
Alexander Udalov
009f18f1f4
Split AnalysisFlag values to AnalysisFlags and JvmAnalysisFlags
...
Declare AnalysisFlags in module 'frontend', and JvmAnalysisFlags in
module 'frontend.java', to avoid leaking Java-related logic to common
compiler code
2018-10-01 13:31:00 +02:00
Ilya Chernikov
7b7f87a3b7
Move ivy resolver to the main-kts to avoid classloading issues...
...
e.g. when main-kts is loaded in IDEA
#KT-26828 fixed
2018-09-27 12:56:19 +02:00
Ilya Chernikov
43a4b84b44
Make script resolving annotations repeatable, fix multiple repos usage
...
Also avoid "unknown resolver central" errors on ivy resolving
#KT-27050 fixed
2018-09-26 11:49:45 +02:00
Ilya Chernikov
c0f4933356
Make ivy resolver quiet
2018-09-18 18:39:30 +02:00
Ilya Chernikov
73907106e9
Fix script util tests after moving context utils to scripting-jvm
2018-09-16 22:24:59 +02:00
Ilya Chernikov
d9760f00f6
Move context classpath utils from script-util to scripting-jvm
...
since it is the right place to have it in the new structure.
Solves the problem that script-util classes not found then script
definition with context classpath is loaded by the scripting compiler
plugin, since script-util is not packed into embeddable plugin.
The old context utils are deprecated and in fact wrap the new utils.
#KT-26828 fixed (in fact - partially, see another related commit)
2018-09-15 15:43:53 +02:00
Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Ilya Chernikov
79bad24941
Simple ivy resolver with test
2018-09-07 18:47:18 +02:00
Vyacheslav Gerasimov
b868450e9a
Make dependencies on :kotlin-compiler project testRuntimeOnly everywhere
2018-09-05 22:58:31 +03:00
Ilya Chernikov
d785b7e4c5
Extract urls from any classloader that has getUrls(): List<URL> method
...
via reflection, e.g. IDEA platform UrlClassloader. This fix allow
kotlin JSR223 host for IDEA to extract classpath from the environment
properly (with appropriate fix on IDEA side as well).
2018-08-31 15:18:56 +03:00
Jonathan Lermitage
66bb744e3c
Update Maven central repository url to latest version
2018-08-17 09:46:07 +02:00
Alexander Udalov
5da8ce844a
Minor, move ContentRoot and KotlinSourceRoot to module 'cli'
...
Also move CONTENT_ROOTS from JVMConfigurationKeys to
CLIConfigurationKeys since it's used on all platforms, not just JVM
2018-08-07 13:38:30 +02:00
Ilya Chernikov
f71909ee73
Fix classpath calculation for scripts, e.g. in JSR-223 setting
...
#KT-25814 fixed
2018-08-01 13:09:05 +02:00
Yan Zhulanow
314cc5c2f5
Add support for Android Studio 3.3 Canary 1
2018-07-19 19:09:40 +03:00
Ilya Chernikov
70eaa0ec75
Cleanup annotations in script-util:
...
remove unused targets and runtime retention
2018-07-18 13:11:32 +02:00
Vyacheslav Gerasimov
8c88ac69df
Cleanup .181 bunch files
2018-04-27 18:25:21 +03:00
Vyacheslav Gerasimov
bc403ce744
Switch to 181 platform
2018-04-27 18:25:17 +03:00
Denis Zharkov
003f381fcd
Replace default-type dependencies to :kotlin-stdlib with distJar
...
Use distJar configuration instead.
It's necessary because currently when using default-type, subproject
starts having a transitive dependency to :kotlin-stdlib-common
and that leads to exception from KT-20897 when building light classes
This change might be reverted once KT-23942 is fixed
#KT-23942 Submitted
2018-04-26 16:11:27 +03:00
Vyacheslav Gerasimov
a6bd0f618e
as32: Remove platform-api & platform-impl from build scripts
...
since they are not present in AS 3.2 C10
2018-04-13 21:33:14 +03:00
Vyacheslav Gerasimov
a0e20eefc6
181: Fix dependencies for 181
2018-04-11 16:28:29 +03:00
Ilya Chernikov
15fcee474c
Fix script classpasth from environment extraction...
...
for classes dirs
2018-04-04 16:23:57 +02:00
Ilya Chernikov
d50798c4cf
Refactor script-util context tools to simplify its usage in the new scripting
2018-04-04 16:23:56 +02:00
Ilya Chernikov
3732422e6a
Add example scripting hosts with tests:
...
the simple scripting host and the one with maven resolving
2018-04-04 16:23:54 +02:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Alexey Tsvetkov
c736f229ce
Always depend on runtimeJar of kotlin-daemon-client
2018-03-14 13:29:32 +03:00
Yan Zhulanow
34d1611ed4
Add Pill support to compiler and IDE modules
2018-03-02 03:15:17 +03:00
Ilya Chernikov
a5278c2184
Get rid of PathUtil dependency in the script_util
...
reduces transitive dependencies required for the script_util
2018-02-28 19:29:05 +01: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 Chernikov
a6f8db5d02
Fix script-util tests
2018-01-30 17:06:12 +03:00
Ilya Chernikov
a4f28cd94f
Make all dependencies to idea sdk intransitive
2018-01-30 17:06:11 +03:00