summaryrefslogtreecommitdiff
path: root/kotlin
AgeCommit message (Collapse)AuthorFilesLines
2023-03-02[Android][Kotlin] fixed build after decomission of jcenter and gradle update ↵Paulo Pinheiro6-77/+47
(#7840) * [Android] fixed build after decomission of jcenter JCenter[1] has been removed and now is failing android build. This change updates the configuration to remove this and few other warnings. 1 - https://developer.android.com/studio/build/jcenter-migration * [Kotlin] fix build for latest gradle version 8.0.1 --------- Co-authored-by: Derek Bailey <derekbailey@google.com>
2022-09-11Replace `bash JavaTest.sh` with `mvn test` (#7500)Nick1-1/+1
* Start of mvn-ification of the test * move to right locations * Update the IO done in the test to read from resources / write to temp folders * Add github workflow attempt to mvn test it instead of JavaTest.sh * Pin the Kotlin benchmark's symlink for /java to the right location * Inline equality assertions and format JavaTest.java * fix android gradle source directory Co-authored-by: Derek Bailey <derekbailey@google.com>
2022-06-14[Kotlin] Remove download benchmark files dependency (#7314)Paulo Pinheiro1-4/+0
There was a step in the compilation process where benchmark data is downloaded before starting the kotlin compilation process. Since we are not running benchmark on CI anymore, we remove the dependency. To run benchmarks the download task needs to be executed manually.
2022-04-08[Kotlin] Update gradle to 7.4.1 and simplify config files. (#7231)Paulo Pinheiro11-203/+220
* [Kotlin] Update gradle to 7.4.1 and simplify config files. * [Kotlin] Add wrapper-validation-action to Kotlin Linux * [Kotlin] Remove benchmark actions to reduce CI time * [Kotlin] Move CI js test to Linux action, to increase Mac action speed * [Kotlin] Generate gradle wrapper in order to be validate Gradle wrapper from 3.3 to 4.0 are not verifiable because those files were dynamically generated by Gradle in a non-reproducible way. So they are now regenerated and will be checked using gitlab action: gradle/wrapper-validation-action@v1
2022-03-31maximize parallel builds in CI (#7206)Derek Bailey1-0/+2
2021-05-10Updated main version numbers to 2.0Wouter van Oortmerssen3-4/+4
2021-04-15[Kotlin][FlexBuffers] Add support for Kotlin-iOS (#6564)Paulo Pinheiro1-0/+17
With this change, Flexbuffers for Kotlin now supports iOS(arm32, arm64, X64). WatchOS and tvOS not supported.
2021-04-12[Kotlin] Bump kotlinx.benchmark dependency to 0.3.0 (#6560)Paulo Pinheiro3-7/+3
Kotlinx.benchmark project just abandoned bintray and moving to maven central, removing the artifacts from bintray and causing missing dependencies in our build. So we are updating the dependency to point to the new version on maven central. More information in: https://github.com/Kotlin/kotlinx-benchmark/commit/53ee45d0d914ceff111d3581ba3f5897fa897adc#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
2021-04-12[Kotlin][FlexBuffers] Add support for Kotlin-JS (#6554)Paulo Pinheiro9-101/+195
Flexbuffers for Kotlin currently supports JVM and MacOS. This change introduces support to JS as well.
2021-03-29[Kotlin][FlexBuffers] JSON support for Flexbuffers (#6417)Paulo Pinheiro8-40/+1402
* [Kotlin][FlexBuffers] Add JSON support for FlexBuffers * [Kotlin][Flexbuffers] Re-implement JSON parser with a tokenizer.
2021-01-28This commit contains the initial implementation of Flexbuffers in Kotlin. ↵Paulo Pinheiro24-0/+4749
The code was ported based (#6387) on the current Java Implementation. The code dependencies related to JVM were removed and the project is able to target all available platforms. The only requirement to implement to fully support a target is to implement functions described in `ByteArray.kt`. Right now the code support JVM and native targets. JS port still missing, but just be trivial to introduce. Currently, only the `jvm` and `macosX64` targets are enabled until we figure out how to enable tests on all platforms on CI. A submodule called "benchmark" is also introduced. It contains a series of benchmarks comparing Java and Kotlin implementations of FlexBuffers and the UTF8 API. Finally, this commit does not contain the scripts necessary to publish the artifacts. This will be introduced at a later stage once the team has an agreement on how to rollout Kotlin releases.