Client builds
This commit is contained in:
parent
ee2b7f0b4c
commit
d6e73cf7ad
10 changed files with 297 additions and 356 deletions
18
build.gradle
18
build.gradle
|
|
@ -18,10 +18,13 @@ buildscript {
|
|||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'com.google.protobuf' version '0.8.8'
|
||||
id 'application'
|
||||
}
|
||||
|
||||
apply plugin: 'com.google.protobuf'
|
||||
def grpcVersion = '1.22.0-SNAPSHOT'
|
||||
def protobufVersion = '3.7.1'
|
||||
def protocVersion = protobufVersion
|
||||
|
||||
repositories {
|
||||
// Use jcenter for resolving your dependencies.
|
||||
|
|
@ -36,6 +39,9 @@ dependencies {
|
|||
// Use JUnit test framework
|
||||
testImplementation 'junit:junit:4.12'
|
||||
|
||||
// Used by GRPC generated code
|
||||
compile 'org.glassfish:javax.annotation:10.0-b28'
|
||||
|
||||
// grpc stuff
|
||||
compile 'io.grpc:grpc-netty-shaded:1.20.0'
|
||||
compile 'io.grpc:grpc-protobuf:1.20.0'
|
||||
|
|
@ -44,7 +50,7 @@ dependencies {
|
|||
}
|
||||
|
||||
// Define the main class for the application
|
||||
mainClassName = 'JobServ.App'
|
||||
mainClassName = 'JobServ.JobServClient'
|
||||
|
||||
protobuf {
|
||||
protoc {
|
||||
|
|
@ -64,4 +70,10 @@ protobuf {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
apply plugin: 'application'
|
||||
mainClassName = 'JobServ.JobServClient'
|
||||
jar {
|
||||
manifest {
|
||||
attributes('Main-Class' : mainClassName)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue