修改 Build 文件
This commit is contained in:
parent
82891ae010
commit
aa74ef47b6
35
build.gradle
35
build.gradle
|
@ -1,8 +1,7 @@
|
||||||
group 'com.github.simplesteph.protobuf'
|
group 'com.insight.demo.messagepack'
|
||||||
version '1.0-SNAPSHOT'
|
version '1.0.0'
|
||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'com.google.protobuf'
|
|
||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
@ -12,39 +11,25 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
// commons
|
||||||
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
|
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
|
||||||
compile group: 'commons-io', name: 'commons-io', version: '2.6'
|
compile group: 'commons-io', name: 'commons-io', version: '2.6'
|
||||||
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
|
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
|
||||||
|
|
||||||
compile group: 'joda-time', name: 'joda-time', version: '2.10.3'
|
compile group: 'joda-time', name: 'joda-time', version: '2.10.3'
|
||||||
|
|
||||||
// Protobuf
|
// MessagePack
|
||||||
compile 'com.google.protobuf:protobuf-java:3.9.0'
|
compile group: 'org.msgpack', name: 'msgpack', version: '0.6.12'
|
||||||
compile 'com.google.protobuf:protobuf-java-util:3.9.0'
|
|
||||||
|
|
||||||
// Snappy Zip
|
//LOG
|
||||||
compile group: 'org.xerial.snappy', name: 'snappy-java', version: '1.1.7.3'
|
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.2'
|
||||||
|
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.0.9'
|
||||||
|
compile group: 'ch.qos.logback', name: 'logback-core', version: '1.0.9'
|
||||||
|
|
||||||
|
//TEST
|
||||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||||
}
|
}
|
||||||
|
|
||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.5'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protobuf {
|
|
||||||
// Configure the protoc executable
|
|
||||||
protoc {
|
|
||||||
// Download from repositories
|
|
||||||
artifact = 'com.google.protobuf:protoc:3.5.1'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url "https://maven.ossez.com/repository/internal"
|
url "https://maven.ossez.com/repository/internal"
|
||||||
|
|
Loading…
Reference in New Issue