Pavel Punegov
3a4d6bcb18
[build] Advance kotlin-build-gradle-plugin version to 0.0.38
2022-04-08 14:42:08 +03:00
Pavel Punegov
4644562e7f
[K/N][build] Change MetaVersion to inline class from enum
...
Support meta versions strings other than pre-defined. All enum entries
were left for source-level compatibility.
2022-04-08 14:42:08 +03:00
Vyacheslav Gerasimov
5e09c3176f
Build: Set kotlin.build.cache.push to false by default
...
#KTI-793
2022-03-13 20:29:12 +00:00
Dmitriy Novozhilov
74d36634bf
[Build] Add renderDiagnosticNames property to kotlin build gradle plugin
2022-02-18 17:44:43 +03:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Nikolay Krasko
272081d8cf
Reduce dependency on teamcity.jetbrains.com when downloading dependencies
2021-11-20 00:05:51 +03:00
Vyacheslav Gerasimov
1e223f8366
Build: Drop unused setupBuildCache helper
2021-09-26 23:36:41 +03:00
Dmitriy Novozhilov
adbeda12a6
[Build] Remove pathToKotlinModularizedTestData from kotlin-build-gradle-plugin
2021-08-05 15:22:40 +03:00
Alexander Udalov
0925e1b497
Enable JVM IR for stdlib/reflect/test libraries
...
Changes in Gradle integration tests are needed because:
- in new-mpp-android, kotlin-stdlib-jdk8 is used, and JVM IR generates
JDK 8-specific bytecode (invokedynamic). D8 needs to be configured to
desugar it with source/target versions set to 1.8, otherwise it
reports an error.
- in AndroidExtensionsManyVariants and AndroidIcepickProject, D8 fails
with assertions enabled if AGP < 4.0.0 is used because of
https://issuetracker.google.com/issues/148661132 . The tests which use
old AGP versions are probably not relevant anymore anyway.
Changes in kotlin-stdlib-runtime-merged.txt are caused by a slightly
different generation scheme of collection subclasses in JVM IR, and are
harmless.
(Previous attempt was at 15e978dbd311c2ba78ec32b394c21acde9811ccb.)
2021-08-05 12:36:35 +02:00
Alexander Udalov
35f6337de3
Remove obsolete kotlin.build.useIR flag
...
(cherry picked from commit 91e47f1fd7 )
2021-07-13 14:01:19 +02:00
Pavel Punegov
269f83f86e
Update kotlin-build-gradle-plugin to 0.0.31
2021-07-05 19:43:28 +00:00
Pavel Punegov
c2fe46020e
Native: improve CompilerVersion to correspond to the versioning schema
...
* Add pub and dev-google-pr meta versions
* Allow using release versions with and without build number
* Add tests for version parsing
2021-07-05 19:43:27 +00:00
Yahor Berdnikau
7789054547
Migrate repo to use JVM toolchains Gradle feature.
...
^KT-46972 Fixed
2021-07-05 14:11:12 +00:00
Nikolay Krasko
b6b983aa2a
Update kotlin:kotlin-build-gradle-plugin 0.0.29 -> 0.0.30 (KTI-563)
...
Remove ultimate mentioning
2021-06-09 22:19:53 +03:00
Nikolay Krasko
a4005cef19
Build: Drop ultimate, cidr and kmm from the build (KTI-563)
2021-06-09 17:43:52 +03:00
Aleksei.Cherepanov
35c067b215
Fix import for JPS build of Kotlin repo
...
Changed link of configuration on TC for getting artifacts
from "Compiler Dist (202) and Maven Artifacts"
to "Kotlin / Kotlin Public / Aggregate"
2021-06-08 22:01:31 +03:00
Alexander Udalov
e0cc6d44a7
Revert "Remove obsolete kotlin.build.useIR flag"
...
This reverts commit 91e47f1fd7 .
2021-05-28 21:35:57 +02:00
Alexander Udalov
91e47f1fd7
Remove obsolete kotlin.build.useIR flag
2021-05-28 15:41:57 +02:00
Alexander Likhachev
3df45f9651
[Build] Bump kotlin-build-gradle-plugin version to 0.0.29
2021-05-18 16:37:36 +03:00
Alexander Likhachev
cf00bc8243
[Build] Remove outdated IDEA sync detection
2021-05-18 16:37:35 +03:00
Alexander Likhachev
cc183e96a4
[Build] Fix configuration cache undeclared system property read issues
...
#KT-44611 In Progress
2021-05-18 16:37:29 +03:00
Pavel Punegov
53bf0b1c42
Update Build gradle plugin to 0.0.28
2021-05-12 10:34:36 +03:00
Pavel Punegov
540c69ab89
[native] VersionGenerator: fix error string
2021-05-12 10:34:36 +03:00
Pavel Punegov
86041096fd
Return milestone property back to support older versions of plugins
...
Older gradle plugin's NativeCompilerDownloader uses milestone property.
2021-05-12 10:34:36 +03:00
Pavel Punegov
fa525a8359
[native] Support milestones in meta versions
...
Add milestones to MetaVersion to replace standalone parameter in
compiler version generator. This makes native version match Kotlin one.
2021-05-12 10:34:35 +03:00
Vasily Levchenko
9cbcafa8d1
[dependencies][kotlin-build-gradle-plugin] version 0.0.27
...
- reading konanVersion and konanMetaVersion from project properties
2021-04-30 10:26:35 +00:00
Nikolay Krasko
5631481747
Drop bintray kotlin-dev (KTI-528)
2021-03-30 12:34:03 +03:00
Dmitriy Novozhilov
ab62680a03
Add new configuration flag to kotlin-build-gradle-plugin
...
This flag is needed for auto-generation of run configurations
for modularized tests which are used by FIR team
2021-03-15 12:12:59 +03:00
Alexander Likhachev
6bd44df861
[Build] Fix configuration cache issues (part 6)
...
Make DexMethodCountStats task class, tasks :examples:kotlin-jsr223-daemon-local-eval-example:test,:idea:idea-fir:test, :idea:idea-fir-performance-tests:test, :idea:idea-frontend-fir:test, :idea:idea-frontend-fir:idea-fir-low-level-api:test, :kotlin-compiler-client-embeddable:test, :kotlin-compiler-embeddable:test, :kotlin-stdlib-js-ir:compileTestKotlinJs, :plugins:android-extensions-compiler:test, :plugins:parcelize:parcelize-compiler:test, :compiler:test compatible with configuration cache
Relates to #KT-44611
2021-03-11 14:12:36 +03:00
Alexander Likhachev
46b056c929
[Build] Fix configuration cache issues (part 5)
...
Make Project.configureFormInstrumentation and Task.useAndroidConfiguration extensions, :dependencies:android-sdk unzip tasks compatible with configuration cache
Relates to #KT-44611
2021-03-11 14:12:35 +03:00
Alexander Likhachev
27956adf3f
[Build] Fix configuration cache issues (part 1)
...
* Make `clean` task compatible with configuration cache
* Make Java compile instrumentation compatible with configuration cache
* Make settings.gradle compatible with configuration cache
* Initial work on making IntelliJInstrumentCodeTask compatible with configuration cache
* Make writeStdlibVersion task compatible with configuration cache
* Copy some properties to not capture it's owning object into lambda to support configuration cache
Relates to #KT-44611
2021-03-11 14:12:28 +03:00
Vasily Levchenko
ec0f6b9ede
[build][kotlin-build-gradle-plugin] bump version 0.0.25
...
- kotlin native versioning support
- disable metadata
- fixes of drop 0 maintanence clause
- support for kotlin.native.enabled flag to switch on/off kotlin native build
- add mode to version generatation to dump version to resourse file
2021-02-24 11:07:14 +01:00
Mikhael Bogdanov
6a29097a8c
Remove obsolete dependency for dx
2021-01-29 17:47:37 +01:00
Mikhael Bogdanov
c5baf3fdd2
Upgrade gradle plugin to 4.1. and build tools to 29.0.3 for android box tests
2021-01-29 11:57:51 +01:00
Nikolay Krasko
293f2f9950
Build: Replace Bintray with Space for kotlin-dependencies repository (KTI-466)
2021-01-24 15:04:41 +03:00
Dmitriy Novozhilov
f531612aa4
Build: update kotlin-build-gradle-plugin version
2020-11-17 18:14:08 +03:00
Dmitriy Novozhilov
bab08c29be
Build: add several FIR flags to kotlin-build-gradle-plugin
2020-11-17 18:14:08 +03:00
Alexander Udalov
8160f579d3
Build: add useIR/useIRForLibraries to kotlin-build-gradle-plugin
2020-11-17 18:14:07 +03:00
Vyacheslav Gerasimov
d7474bb2f7
Build: Use only @Exported & whitelisted classes for tools.jar api
...
This makes it stable between JDK vendors and versions
2020-11-17 01:21:00 +03:00
Dmitriy Novozhilov
7aef253a36
Add SpaceBootstrap option to kotlin-build-gradle-plugin
2020-09-28 12:43:10 +03:00
Nikolay Krasko
3a883e1236
Replace bintray bootstrap with space bootstrap repo
2020-08-14 17:31:13 +03:00
Vyacheslav Gerasimov
628efcb189
Build: Add kotlin.build.dependencies.iu.enabled property
...
Alias for intellijUltimateEnabled
2020-07-16 13:00:25 +03:00
Vyacheslav Gerasimov
996e529944
Build: Allow intellijUltimateEnabled without kotlin-ultimate directory
...
This allows to build against idea ultimate locally
2020-07-16 13:00:24 +03:00
Vyacheslav Gerasimov
77a8cf4e66
Build: Use attributes to resolve test dependencies in jps build mode
2020-06-29 18:17:08 +03:00
Ilya Gorbunov
86d098b8ad
Infer internal artifacts bootstrap repository
...
This allows taking these artifacts from buildserver if the
bootstrap itself is taken from there.
2020-04-29 04:49:34 +03:00
Mikhail Bogdanov
9d68db1668
Switch usages android build tools from 23.0.1 to 28.0.3
2020-04-14 13:53:22 +02:00
Mikhail Bogdanov
acb4d6cf63
Update android-sdk dependency management. Add Emulator
2020-04-09 17:04:41 +02:00
Ilya Gorbunov
8bc8a8cf79
Publish kotlin-build-gradle-plugin sources
...
#KT-37775 Fixed
2020-04-02 05:21:10 +03:00
Ilya Gorbunov
fde33252cf
Present boolean property without value is considered true
...
For example, -Pbootstrap.local or -Pkotlin.build.proguard
2020-04-02 05:21:10 +03:00
Ilya Gorbunov
1727fcf1a8
Make some build properties extensions in buildSrc
...
They are used only in main build's .gradle.kts files, so it is more
flexible to define them as extensions - no need to republish
kotlin-build-gradle-plugin when another such property is to be added.
2020-04-02 05:21:10 +03:00