1 Star 0 Fork 12

unmount/虚拟货币交易系统量化Java示例

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
肖洋 提交于 2018-11-01 15:52 . add advanced strategy style
plugins {
id 'java'
id "com.google.protobuf" version "0.8.6"
}
group 'com.softwin.crypto_currency'
version '1.0-SNAPSHOT'
compileJava.options.encoding = 'UTF-8'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.modelmapper', name: 'modelmapper', version: '1.1.3'
compile 'com.github.BAData:protobuf-converter:1.1.4'
compile 'io.grpc:grpc-all:1.11.0'
compile fileTree(include: ['*.jar'], dir: 'libs')
compileOnly('org.projectlombok:lombok:1.16.20')
testCompile group: 'junit', name: 'junit', version: '4.12'
}
sourceSets {
main {
java {
srcDir 'src/main/protoGen'
}
}
}
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.5.1'
}
plugins {
grpc {
artifact = "io.grpc:protoc-gen-grpc-java:1.11.0"
}
}
generateProtoTasks {
ofSourceSet('main').each { task ->
task.builtins {
java{
outputSubDir = 'protoGen'
}
}
task.plugins {
grpc {
outputSubDir = 'protoGen'
}
}
}
}
generatedFilesBaseDir = "$projectDir/src/"
}
task cleanProtoGen{
doFirst{
delete("$projectDir/src/main/protoGen")
}
}
clean.dependsOn cleanProtoGen
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/unmount/crypto_currency_trading_system_api_demo.git
git@gitee.com:unmount/crypto_currency_trading_system_api_demo.git
unmount
crypto_currency_trading_system_api_demo
虚拟货币交易系统量化Java示例
master

搜索帮助