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
Ilya Gorbunov
c046f431d9
Rename KotlinBuildProperties.get private function to getOrNull
...
Before that Groovy tried to find 'get' when dispatching property access,
succeeded in that, and thus any mistyped missing property
would have resulted in null value instead of exception.
2020-04-02 05:21:10 +03:00
Ilya Gorbunov
2e20fab05f
Add bootstrap.teamcity.url parameter to specify bootstrap teamcity server
2020-04-02 05:21:10 +03:00
nataliya.valtman
915e6107d1
make Bootstrap option available in buildSrc
2020-03-23 08:43:06 +03:00
Vyacheslav Gerasimov
c75ad13b66
Build: Remove all code from tools-jar-api leaving only declarations
...
Since method bodies are not required for compilation
strip them out to remove noise between different versions.
2020-03-10 17:24:21 +03:00
Vyacheslav Gerasimov
ef169aa12b
Build: Use preprocessed tools.jar for compilation
...
tools.jar from JDK has different public api on different platforms which
makes impossible to reuse caches for tasks which depend on it. Since we
can't compile against those classes & stay cross-platform anyway, we
may just exclude them from compile classpath. This should make tools.jar
compatible at least within one build of JDK for different platforms
2020-03-10 17:24:21 +03:00
nataliya.valtman
fa74eabbd1
use bootstrap.kotlin.default.version bootstrap for buildSrc
2020-03-04 15:15:32 +03:00
nataliya.valtman
5c6f452c10
Revert "add cleanup dependencies tasks for buildSrc"
...
This reverts commit 8a8536f8
2020-02-27 15:23:47 +03:00
nataliya.valtman
8a8536f8ae
add cleanup dependencies tasks for buildSrc
...
change embedded kotlin version to bootstrap for buildSrc
2020-02-27 13:55:58 +03:00
Vyacheslav Gerasimov
5aae3b5d27
Build: Add localBuildCacheDirectory property to KotlinBuildProperties
2020-02-25 19:37:33 +03:00
nataliya.valtman
d82dc86c71
Reverts commit 13afb2e4 (buildSrc bootstrap version)
2020-02-25 17:08:51 +03:00
nataliya.valtman
13afb2e45e
Make kotlin build version for buildSrc the same as for kotlin project
2020-02-23 09:02:22 +03:00