https://github.com/jdekim43/chameleon.proto
https://github.com/jdekim43/chameleon.proto
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jdekim43/chameleon.proto
- Owner: jdekim43
- License: apache-2.0
- Created: 2024-02-19T07:58:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-12T06:48:48.000Z (12 months ago)
- Last Synced: 2025-01-19T07:13:19.311Z (5 months ago)
- Language: Kotlin
- Size: 4.53 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chameleon.proto
This repository contains generated codes of protobuf files for [chameleon](https://github.com/jdekim43/chameleon) library.
These are generated using protoc compiler with [kotlin-protobuf](https://github.com/jdekim43/kotlin-protobuf) plugin.## How to build
This repository **can not build** with `./gradlew build` command.
Because each modules have different dependent version.
So you should choose target module.### Instruction
1. Checkout target module : `cd ${MODULE_DIR}/target && checkout ${VERSION}`
2. Checkout dependencies : `./gradlew :[module path]:checkoutDependencies`.
* It will be checkout dependent modules automatically.
3. Clean project : `./gradlew clean cleanProto`
4. Compile protobuf files : `./gradlew :[module path]:generateProto`
5. Build : `./gradlew :[module path]:build`#### Example : injective-core
```
cd ${PROJECT_DIR}/injective-core/target
git fetch --all --tags
git checkout v1.12.1
cd ${PROJECT_DIR}./gradlew :chameleon-proto-injective-core:checkoutDependencies
./gradlew clean
./gradlew cleanProto
./gradlew :chameleon-proto-injective-core:generateProto
./gradlew :chameleon-proto-injective-core:build
```