Vyacheslav Gerasimov
3b088818a5
Build: Add sources and javadocs to Kotlin Plugin publication
2019-11-01 16:22:42 +03:00
Andrey Uskov
fd2b75e39b
Fixed import of MPP project with single Android target
...
#KT-34639 Fixed
2019-10-31 21:39:18 +03:00
Vyacheslav Gerasimov
38ea5a85a3
Build: Add maven publication for Kotlin plugin artifacts
2019-10-24 17:06:19 +03:00
Andrey Uskov
40bb48e19b
Fix actualisation of common source sets when HMPP is disabled
...
#KT-34256 Fixed
#KT-34402 Fixed
2019-10-21 21:38:45 +03:00
Andrey Uskov
866ab51ce5
Work-around for importing intermediate android source sets
...
Fixed failure on import fully actualized intermediate source sets with K2Metadata compiler arguments (Android plugin expects compiler arguments of another type)
2019-10-17 10:26:36 +03:00
Andrey Uskov
a60cbef5d2
Do not build metadata dependency tree for platform source sets
2019-10-17 10:26:24 +03:00
Andrey Uskov
f567df283e
Improved performance non-MPP projects import
...
#KT-32960 Fixed
2019-10-17 10:26:20 +03:00
Andrey Uskov
d7a2de59ac
Import: support mixing of TaskProviders and Tasks in task executors
...
#KT-34101 Fixed
2019-10-01 08:30:12 +03:00
Andrey Uskov
c0f2be478f
Fix calculation of target platform for common test modules for NMPP
...
#KT-34070 Fixed
2019-10-01 08:30:07 +03:00
Ilya Matveev
3da3e1cae9
IDE: Add native extensions to KotlinCompilation
2019-09-27 18:06:58 +07:00
Ilya Matveev
95cbb4e8b4
IDE: Add a flag to disable native libraries propagation
2019-09-27 18:06:58 +07:00
Ilya Matveev
701e92ace2
IDE: Propagate platform libraries to common modules for some native targets
...
Some native platforms (e.g. ios_arm64 and ios_x64) have almost
identical platform libraries. For such platforms we can workaround
a lack of the commonizer and resolve common sources against
libraries of one of these platforms. This patch enables this
workaround by propagating dependencies to common modules.
Issue #KT-33999 fixed
2019-09-27 18:06:56 +07:00
Andrey Uskov
a4a03aeb5c
Fix compilation of KotlinMPPGradleModelBuilder
2019-09-27 12:14:43 +03:00
Andrey Uskov
ed750f4d10
Do not import orphan source sets
2019-09-27 12:00:05 +03:00
Andrey Uskov
715fad849d
Importing test tasks and targets is implemented
2019-09-27 11:59:58 +03:00
Sergey Igushkin
50e758cbb7
Remove the @Inclubating annotation from UnstableApiUsage inspection
...
Also remove `@Suppress("UnstableApiUsage)"` where it was relevant
2019-08-21 19:42:34 +03:00
Kirill Shmakov
407e5a5270
Use same models in MPP and CIDR
2019-07-18 15:02:17 +03:00
Sergey Igushkin
f6679f27f4
Add test tasks to the Gradle model built for MPP
...
Add `testTasks` to KotlinTarget model class, build them
based on task names until proper test runs API is available.
2019-07-11 20:47:58 +03:00
Ilya Chernikov
9c004c3a52
Refactor scripting compiler plugin - move cli dependent parts out of the -impl jar
...
The kotlin-scripting-compiler-impl jar is used in the idea plugin and
therefore should not depend on the cli parts of the compiler to avoid
dependency from the plugin to the kotlin-compiler.jar.
Therefore the cli-dependent parts were moved to the scripting plugin
jar, which is used only in cli compiler based environments.
Also implement required abstractions to allow this movement and
drop some redundant dependencies to the cli parts in other projects.
2019-07-11 15:50:26 +02:00
Andrey Uskov
40633768bc
Implement dependency deduplication in order to reduce memory
...
consumption during import process
2019-07-09 20:14:07 +03:00
Andrey Uskov
09c2b2800c
Migrate collections to arrays for memory optimisation
...
during import process
2019-07-09 20:13:44 +03:00
Andrey Uskov
2665fff373
Import package prefix from MPP projects
2019-07-09 20:12:13 +03:00
Andrey Uskov
2b6f566d58
Import package prefix from gradle
...
#KT-19693 Fixed
2019-07-09 20:11:48 +03:00
Andrey Uskov
e791b9d3f7
HMPP: import flag indicating that the project uses HMPP feature
2019-07-02 22:40:19 +03:00
Andrey Uskov
c0bf5a6566
Import of middle HMPP target platforms is supported
2019-06-13 18:30:01 +03:00
Yan Zhulanow
bc0f10449a
Kapt: Fix source root importing in MPP projects
2019-06-13 17:33:24 +09:00
Yan Zhulanow
9eab9f386d
Activate Kapt importer only for JVM compilations (KT-30578)
2019-06-13 17:33:24 +09:00
Andrey Uskov
6039d86388
Importing projects with granular metadata is partially supported
...
(except k-lib data format of metadata libraries and multiple target
platforms per source set)
2019-04-29 19:49:18 +03:00
Dmitry Gridin
37c856290f
Fix minor compile warnings
2019-04-25 19:47:39 +07: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
Vyacheslav Gerasimov
2bc11cbd58
Remove as32 bunch files
2019-04-23 17:28:41 +03:00
Vyacheslav Gerasimov
952d2b6287
Remove 181 bunch files
2019-04-23 17:28:41 +03:00
Vyacheslav Gerasimov
d554b5aafa
Build: Embed projects not published to maven into kotlin-plugin.jar
2019-04-10 17:54:05 +03:00
Andrey Uskov
a6ae1f2ba6
Fix import of compiler arguments in IDEA if source set dependencies
...
could not be resolved (e.g. due to misspelling in artifact name).
Fix works only in case when both new IDEA and gradle plugins are
used
#KT-28627 Fixed
2019-04-09 12:04:59 +03:00
Andrey Uskov
792fae4afc
Optimize memory usage during import of MPP projects
...
#KT-30767 Fixed
2019-04-02 21:23:07 +03:00
Andrey Uskov
a0b8140278
Fix creation of Android source roots
...
#KT-30464 Fixed
2019-03-26 08:28:23 +03:00
Andrey Uskov
25dc81c2bd
Fix memory leak in gradle import
...
#KT-30076 Fixed
2019-03-03 20:28:04 +03:00
Andrey Uskov
3919898d19
Minor. Reformat code in multiplatform project importer
2019-03-03 20:27:12 +03:00
Andrey Uskov
63a1bba6d9
Fix importing compiler arguments if worker api is used #KT-29564 Fixed
2019-02-25 12:20:27 +03:00
Dmitriy Dolovov
375697c413
User friendly presentation of KLIBs in IDEA
...
Missed fixes in 181 bunch
2019-02-15 15:32:22 +07:00
Dmitriy Dolovov
75250cf1a0
User friendly presentation of KLIBs in IDEA
...
Adds friendly names for KLIBs imported as file dependencies from Gradle project.
Issue #KT-29613 Fixed
Issue #KT-29783 Fixed
2019-02-14 16:55:45 +07:00
Mikhael Bogdanov
a122cba862
Switch Kotlin project to jvm-target 1.8
...
#KT-29405
2019-01-31 07:43:05 +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
Andrey Uskov
5302470f6b
Fix "testUnresolvedDependency"
...
This fix is work-around fixing incompatibility issue between gradle
tooling api bundled in IDEA and gradle tooling api in gradle 4.x.
When null messages were logged it resulted in the following error:
"java.io.StreamCorruptedException: invalid stream header: ED000573"
2019-01-17 13:20:28 +03:00
Vyacheslav Gerasimov
13d87e8eae
Remove as31 bunch files
2019-01-14 21:29:02 +03:00
Vyacheslav Gerasimov
818910267e
Remove 173 bunch files
2019-01-14 21:29:02 +03:00
Vadim Brilyantov
6d8439e9fb
add kotlinTarget field to non-mpp kotlin gradle model
2018-12-26 20:09:14 +03:00
Vadim Brilyantov
7e41384a60
add more precise target reporting with presets
...
fix report message to be more useful
2018-12-26 20:09:13 +03:00
Sergey Rostov
df2e4524d7
Move resources from /src to separate /resources directory.
...
Previously this files was stored in /src directory and was included in
resources mainly by SourceSet.projectDefault from sourceSets.kt:
val processResources = tasks.getByName(processResourcesTaskName) as ProcessResources
processResources.from("resources") { include("**") }
processResources.from("src") { include("META-INF/**", "**/*.properties") }
Also there are some custom rules like this:
resources.srcDir("../idea-analysis/src").apply { include("**/*.properties") }
resources.srcDirs("idea-repl/src").apply { include("META-INF/**") }
All this rules are synthesized in script
https://github.com/snrostov/kotlin-migrate-resources/blob/master/src/main/kotlin/main.kt
This commit created using that script. See README.md for more details on
script.
2018-11-30 15:01:01 +03:00
Andrey Uskov
620969652a
Fixed dependency resolution of root project
...
#KT-28389 Fixed
2018-11-27 13:46:56 +03:00