Commit Graph

178 Commits

Author SHA1 Message Date
Igor Chevdar e3efd75e55 Implemented code generation of combined IR of all libraries 2019-02-20 22:58:08 +05:00
Nikolay Igotti bf7040a119 Support experimental targets. (#2681) 2019-02-19 14:23:00 +03:00
Nikolay Igotti de65e29fbe Fix Windows sanity test. 2019-02-18 09:43:01 +03:00
Nikolay Igotti 8539d9395e Fix cross-tests on Mac. (#2655) 2019-02-13 17:46:35 +03:00
Vasily Levchenko 72caf706fd [build][precommit] tc-dist added 2019-01-29 13:30:00 +03:00
Alexander Gorshenev cfe153c742 Whole module IR serialization/deserialization.
With public descriptors inserted and wrapped ones used instead of the locals.
2019-01-25 19:21:30 +03:00
Pavel Punegov f5cc8a4d1e Common kotlin.test.
Remove duplicate code and add actuals.
Unify Before and AfterTest
Add kotlin-test-annotations-common and kotlin-test-common as dependencies.
2019-01-14 18:15:44 +03:00
LepilkinaElena 3d5aac2f33 Write benchmarks analyzer to compare benchmarks runs. (#2493) 2018-12-28 10:27:04 +03:00
Dmitriy Dolovov daf1a5fb8c Kotlin/Native samples ported to MPP Gradle DSL (#2261) 2018-10-26 12:16:13 +07:00
Ilya Matveev 147e6c7a93 Publish only release builds to Gradle plugin portal 2018-10-15 18:48:57 +07:00
Ilya Matveev 196ca34d5b Update: Gradle 4.10 (#2187)
Update: Gradle 4.10
2018-10-10 12:37:00 +03:00
Ilya Matveev 65d8b8e7c1 Fix plugin uploading (#2157)
* Fix plugin uploading

* Fix plugin version in bundle samples

* [gradle-plugin] Use unshaded compiler plugin configuration
2018-10-01 14:36:17 +03:00
Ilya Matveev da054ffe99 Add fat jars for gradle plugin (#2149)
* [gradle-plugin] Bundle big Kotlin plugin into the native plugin jar

* Use big Kotlin's version in the Gradle plugin

* [gradle-plugin] Exclude big Kotlin plugins from final jar

* Use composite build again

* Remove MULTIPLATFORM.md

* [gradle-plugin] Fix adding common sources

* [gradle-plugin] Fix test running
2018-09-28 15:32:56 +03:00
Eugene Petrenko 4b70081c26 send TeamCity service message to publish stdlib sources, add task dependency transitively to bundle task 2018-09-24 19:03:16 +03:00
Vasily Levchenko 62a1ff2e8e [bundle][doc] drop unwanted docs from bundle. 2018-09-24 18:23:43 +03:00
Dmitriy Dolovov dcb423a3ce KLIB reader: uniform API for obtaining module descriptors from Kotlin/Native libraries (#1932) 2018-08-25 18:24:07 +03:00
Dmitriy Dolovov f0cfbb9918 move Kotlin/Native metadata deserialization and KLIB reader to a separate module (#1908)
1. move Kotlin/Native metadata deserialization and KLIB reader to a separate module
2. decouple KLIB reader from ModuleDescriptor creation
2018-08-22 14:01:20 +03:00
Dmitriy Dolovov a4a235be42 Move KonanBuiltIns to a separate module (#1860)
1. Separate (temporary) modules for the code to be moved to https://github.com/JetBrains/kotlin repo
2. KonanBuiltIns, functions for creation of module descriptors and interop descriptors and moved to "konan.descriptors" module 
3. Re-organizing KonanModuleOrigin and it's inheritors to better naming/understanding
2018-08-14 13:20:28 +03:00
ilmat192 d20fc12a08 [gradle-plugin] Publish the plugin to plugin portal (#1789)
* [gradle-plugin] Publish the plugin to plugin portal

* [gradle-plugin] Fix test classpath
2018-07-12 12:00:30 +07:00
Vasily Levchenko 2e4cd70f1a [build] replace direct urls with cached ones 2018-07-09 09:52:02 +03:00
Ilya Matveev 0e2fa56269 Download common stdlib sources as a dependency 2018-06-13 14:23:49 +03:00
Ilya Matveev d72db9226b Provide a task to generate all Gradle wrappers in the project 2018-06-09 14:30:18 +03:00
ilmat192 bc65c7175d Improve tooling model + add Gradle version checking (#1602)
* [gradle-plugin] Add tests for IDE model
* [gradle-plugin] Check Gradle version
* [gradle-plugin] Provide language, api and konan version in the model
* [gradle-plugin] Use String instead of KonanTarget in the IDE model
* [gradle-plugin] Rename Produce -> KonanOutput
* [version] Make KonanVersion an interface to allow passing it to IDE
* [gradle-plugin] Replace KonanOutput with CompilerOutputKind
* [gradle-plugin] Don't override usual jar with a fat one
* [gradle-plugin] Fix IDE model tests
* [gradle-plugin] Add library search paths in IDE model
* [gradle-plugin] Use 4.7 as a required version for the plugin
* [gradle-plugin] "Kotlinfy" the version check
2018-05-23 11:58:47 +07:00
Ilya Matveev d525fea65c Pass konanVersion to TeamCity 2018-05-08 13:31:54 +07:00
Ilya Matveev bee7dcd704 Fix gradle plugin versioning and the plugin version used by samples 2018-04-26 11:34:45 +07:00
Ilya Matveev 8a0acd832a Fix path for the uploadBundle task 2018-04-24 19:46:52 +07:00
Ilya Matveev f005a5664e Add a 'build' task as an alias for dist distPlatformLibs 2018-04-24 11:38:58 +07:00
Ilya Matveev bccbf2a72c Remove the 'cleanAll' task 2018-04-24 11:38:58 +07:00
Nikolay Igotti 86349baef7 Hack for 'cleanAll' target 2018-04-22 23:10:44 +03:00
Vasily Levchenko 6a47e7885a [build][version] use konan version for generating artifact name (#1523) 2018-04-22 20:07:42 +01:00
Ilya Matveev bd506c527a [samples] Fix copying the calculator sample into a bundle 2018-04-04 12:31:26 +07:00
Ilya Matveev d894d6af8c [samples] Explicitly specify gradle plugin version 2018-03-26 10:24:29 +03:00
Vasily Levchenko f4e9eba447 [kotlin compiler] use one constants for version for all required kotlin artifacts 2018-03-22 14:13:23 +03:00
Ilya Matveev da5f4e4c2e [build] Add a task to re-generate math.js 2018-03-01 17:02:37 +03:00
Ilya Matveev ffae98f7e0 [js-interop] Include JS interop into stdlib 2018-03-01 17:02:37 +03:00
Ilya Matveev e879fcec75 [samples] Fix android sample in bundle 2018-02-12 19:02:33 +03:00
Alexander Gorshenev 9789420ed3 A configurable zephyr board support. 2018-02-12 16:00:58 +03:00
Alexander Gorshenev a5bc23d706 Moved KonanTarget to be a sealed class rather than enum. 2018-02-12 16:00:58 +03:00
SvyatoslavScherbina c09fd4d355 Add support for custom Xcode location (#1273) 2018-01-30 15:04:29 +03:00
Alexander Gorshenev d4b47ac709 Splitted KonanProperties into Configurables hierarchy.
Untangled Platfrom classes from the LinkStage and Distribution.
Simplified clang management a little.
2018-01-26 16:38:27 +03:00
Alexander Gorshenev f703877160 Introduced support for javascript Math and Kotlin Double to WASM32.
Implemented jsinterop tool for interaction with js math.
2018-01-19 13:46:53 +03:00
Ilya Matveev 76bfb9322d [build] Don't use full paths to specify platform lib dependencies 2018-01-17 16:58:44 +07:00
Ilya Matveev 525561eec3 [gradle-plugin] Add tests for custom targets and artifact paths 2018-01-17 16:58:44 +07:00
Ilya Matveev 32972af5bd [build] Fix 'shared' jar copying 2018-01-17 16:58:44 +07:00
Ilya Matveev 1f74f4dc6d [build] Specify group and version in 'shared' project 2018-01-17 16:58:44 +07:00
Ilya Matveev 3b7d16c70e [build] Create a root task for gradle-plugin uploading 2018-01-17 16:58:44 +07:00
Ilya Matveev f409287438 [build] Improve composite build 2018-01-17 16:58:44 +07:00
Ilya Matveev ffad72835e [build] Use kotlin-gradle plugin in platform libs build 2018-01-17 16:58:44 +07:00
Ilya Matveev a2b6c71f73 [build] Move shared and gradle-plugin into separate gradle builds
Platform libs build will be changed by a separate commit
2018-01-17 16:58:44 +07:00
Ilya Matveev 7ab373fc2b build: Pass URL for uploading through a project property 2017-12-25 16:49:59 +07:00