tree: ba59f222f461d829b32678074ea95ef6ceef35b8 [path history] [tgz]
  1. cross-test-client/
  2. cross-test-server/
  3. src/
  4. build.gradle.kts
  5. CMakeLists.txt
  6. gradle.properties
  7. Makefile.am
  8. README.md
  9. settings.gradle.kts
lib/kotlin/README.md

Test Only Library for Kotlin

This directory (/lib/kotlin) contains test only library code for Kotlin code gen. Because Kotlin code gen produces code that works on top of libthrift (i.e. Java library), the purpose of this library is to encode the cross test server and client to make sure it conforms to the thrift specifications.

The output artifact in this library is not published to Maven central.

How to compile

This library is managed using Gradle 7+, so the easiest way is to use gradle wrapper (./gradlew).

Run the following command (requires C++ compiler):

gradle build
gradle installDist

How to run cross test server / client

gradle :cross-test-server:run
gradle :cross-test-client:run