summaryrefslogtreecommitdiff
path: root/kotlin/spotless
diff options
context:
space:
mode:
authorPaulo Pinheiro <paulovictor.pinheiro@gmail.com>2021-01-28 23:49:25 +0100
committerGitHub <noreply@github.com>2021-01-28 14:49:25 -0800
commit6d91096a2f4f93944092242d7a5d540684dce178 (patch)
tree0bcc491cbc45c873b54d0bf7b0ff205d369121cb /kotlin/spotless
parent13d9e35858fe8c96f7244bf0e4b66af2b24b59f3 (diff)
downloadflatbuffers-6d91096a2f4f93944092242d7a5d540684dce178.tar.gz
flatbuffers-6d91096a2f4f93944092242d7a5d540684dce178.tar.bz2
flatbuffers-6d91096a2f4f93944092242d7a5d540684dce178.zip
This commit contains the initial implementation of Flexbuffers in Kotlin. 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.
Diffstat (limited to 'kotlin/spotless')
-rw-r--r--kotlin/spotless/spotless.kt15
1 files changed, 15 insertions, 0 deletions
diff --git a/kotlin/spotless/spotless.kt b/kotlin/spotless/spotless.kt
new file mode 100644
index 00000000..6363ca0e
--- /dev/null
+++ b/kotlin/spotless/spotless.kt
@@ -0,0 +1,15 @@
+/*
+ * Copyright $YEAR Google Inc. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */