Vyacheslav Gerasimov
adb896d74c
Build: Introduce embedded configuration used for fatJars
2019-04-10 17:54:06 +03:00
Vyacheslav Gerasimov
d554b5aafa
Build: Embed projects not published to maven into kotlin-plugin.jar
2019-04-10 17:54:05 +03:00
Vyacheslav Gerasimov
fc8be48fa8
Build: Improve intellij-sdk repo up-to-date check time & layout
...
Up-to-date check is very heavy for intellij repo due to artifact size.
If module directory in repo is written only by one task we can assume
that task if up-to-date if target directory exists.
2019-03-20 21:29:13 +03:00
Jake Wharton
8e23555660
Make parcelize a non-experimental feature
...
It was already being added to the feature list by default, but was only enabled when isExperimental was true.
2019-03-20 20:52:23 +03:00
Mikhael Bogdanov
20da778046
Add default values to KotlinTypeMapper constructor, remove them from call sites
...
~
2019-03-05 20:34:25 +01:00
Mikhael Bogdanov
cc0c3b1592
Specify default value for irBackend
2019-03-05 20:33:35 +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
Yan Zhulanow
9729932fe4
191: Update Android plugin changes to AS33 (KT-29847)
2019-02-13 16:35:46 +03: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
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
Yan Zhulanow
34818b0bbe
Remove JPS support for Android Extensions
2019-01-09 21:54:52 +03:00
Mikhael Bogdanov
e963c52c80
Update copyright in generated non-compiler tests
2019-01-02 13:34:03 +01:00
Mikhael Bogdanov
c19c979b7d
Use last asm api for visitor construction
2018-12-20 12:55:09 +01:00
Georgy Bronnikov
a35f368ce0
Switch off logging for failing IrBlackBox tests
...
Logging of tests that are expected to fail is controlled by
kotlin.suppress.expected.test.failures project property.
2018-12-05 01:48:43 +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
Yan Zhulanow
c5e241d5c6
Remove deprecated usages of CliOption in official compiler plugins
2018-11-27 22:21:22 +09:00
Dmitry Petrov
b3ce2eea39
Add LanguageVersionSettings to KotlinTypeMapper
...
KotlinTypeMapper clients should use proper LanguageVersionSettings when
possible.
2018-11-21 12:01:41 +03:00
Yan Zhulanow
5636227857
Android Extensions: Use lazy package fragment descriptors only in IDE
2018-11-21 12:34:01 +09:00
Yan Zhulanow
4f3f813b32
Android Extensions: Make AndroidPackageFragmentProviderExtension lazy
2018-11-21 12:34:01 +09:00
Yan Zhulanow
6f8d44750a
Android Extensions: analyze layout XMLs lazily
2018-11-21 12:34:01 +09:00
Yan Zhulanow
12a05e0006
Android Extensions: Use smart pointers in 'AndroidResource'
2018-11-21 12:34:01 +09:00
Andrey Uskov
dac4cb5d06
Fix source sets in all bunches except AS 33 in idea-android
2018-11-12 21:23:14 +03:00
Vyacheslav Gerasimov
4076923a26
as34: Apply changes from AS 3.3
2018-10-26 18:25:20 +03:00
Yan Zhulanow
ba53ba37b0
Replace bunch copies for some of build.gradle.kts files with a DSL
2018-10-24 20:12:30 +03:00
Nikolay Krasko
17421ed14d
191: asm-all has 7.0-beta version in Intellij 191
...
Pass project to fetch extra parameters for asm-all work
2018-10-19 19:16:21 +03:00
Leonid Startsev
b611facd71
Check if serialization plugin presents in the facet compiler classpath before applying extensions logic
...
#KT-27166 Fixed
2018-09-28 18:31:03 +03:00
Yan Zhulanow
b38e9b6b05
Make all intellij-core dependencies non-transitive
2018-09-17 20:08:27 +03: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
Yan Zhulanow
6f7741b6bb
Minor: Move AbstractParcelBytecodeListingTest to compiler tests, change its format a bit
2018-09-11 16:40:43 +03:00
Leonid Startsev
23fd0a6ec9
Split IDE part from kotlinx-serialization-compiler-plugin
2018-09-11 13:22:16 +03:00
Mikhail Glukhikh
f909761974
Add native dependencies to android-extensions-idea module tests
2018-09-08 12:16:26 +03:00
Leonid Startsev
dea69e4469
Integrate serialization plugin into big Kotlin plugin
...
Split import handlers into multiple files
Add empty Maven handler for Android Studio
Add testRuntime dependency on kx-serialization-plugin for all modules which require compiler
plugins in test classpath
2018-09-07 21:17:07 +03:00
Alexander Udalov
87c0d56618
Drop Annotations.getAllAnnotations
2018-09-06 19:13:14 +03:00
Yan Zhulanow
280a3e3d26
Android Extensions: Support platform modules (KT-26169)
2018-09-06 14:42:23 +03:00
Alexander Udalov
896cf61443
Move JVM-specific annotation FQ names and utils to frontend.java
2018-08-27 23:37:06 +02:00
Alexander Udalov
ab441dcd96
Drop PropertyDescriptorImpl.setType that takes KotlinType
...
Only use the other setType that takes an instance of
ReceiverParameterDescriptor. This will make sure that call sites can
use correct receiver annotations
2018-08-27 23:37:05 +02:00
Alexander Udalov
34c033bcaf
Take ReceiverParameterDescriptor in FunctionDescriptorImpl.initialize
...
Instead of just KotlinType. This will allow to pass annotations on the
receiver at call sites
2018-08-27 23:37:04 +02:00
Yan Zhulanow
d0fd74982d
Parcelize, Minor: Fix tests (writeToParcel/describeContents are not final anymore)
2018-08-24 04:28:06 +05:00
Yan Zhulanow
8c05769745
Parcelize: Fix infinite recursive loop for zero-parameter Parcelable classes (KT-25839)
2018-08-24 04:26:36 +05:00
Alexander Udalov
b7808ba24d
Pass JvmTarget to KotlinTypeMapper
...
Also use KotlinTypeMapper.RELEASE_COROUTINES_DEFAULT instead of false in
FileRankingCalculator
2018-08-21 12:23:07 +02:00
Mikhael Bogdanov
6b5b9fbde4
Temporary use special container mapping logic for IR backend
2018-08-09 14:22:47 +03:00
Yan Zhulanow
54470fe2b7
Pill: Remove source dependencies to 'tests-common'
...
'tests-common' module does only have a test source set so the dependency is redundant.
2018-08-07 11:55:23 +03:00
Vyacheslav Gerasimov
c7a00971fe
Fix source compatibility with 183 platform
2018-08-03 21:29:18 +03:00
Vyacheslav Gerasimov
8fc0c1d7b0
as33: Add AS 3.3 bunchset built with AS 3.3 C4
2018-08-02 20:53:17 +03:00
Mikhail Zarechenskiy
045e3f53b0
Propagate KotlinType into codegen methods where it's possible
2018-07-20 13:46:09 +03:00
Yan Zhulanow
88422fb7ce
Make source set empty for Android modules of deleting the resulting JAR files in 'ideaPlugin' task
2018-07-19 19:09:40 +03:00
Yan Zhulanow
37411c823d
Android Extensions: Check the backing 'virtualFile' validity before calling 'findFile()' (EA-124028)
2018-07-17 20:54:30 +03:00