Client builds

This commit is contained in:
Aidan Hahn 2019-05-17 01:28:26 -07:00
parent ee2b7f0b4c
commit d6e73cf7ad
No known key found for this signature in database
GPG key ID: 327711E983899316
10 changed files with 297 additions and 356 deletions

View file

@ -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)
}
}