Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
setup_GRPC
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Riccardo Presotto
setup_GRPC
Commits
9c455222
You need to sign in or sign up before continuing.
Commit
9c455222
authored
Apr 02, 2021
by
Luca Arrotta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update build.gradle
parent
5af5992b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
42 deletions
+2
-42
build.gradle
build.gradle
+2
-42
No files found.
build.gradle
View file @
9c455222
plugins
{
plugins
{
id
"com.google.protobuf"
version
"0.8.10"
// for GRPC
id
"com.google.protobuf"
version
"0.8.10"
// for GRPC
id
"java"
id
"java"
id
"war"
// for REST
}
}
group
'org.example'
group
'org.example'
...
@@ -15,53 +14,16 @@ dependencies {
...
@@ -15,53 +14,16 @@ dependencies {
testImplementation
'org.junit.jupiter:junit-jupiter-api:5.6.0'
testImplementation
'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly
'org.junit.jupiter:junit-jupiter-engine'
testRuntimeOnly
'org.junit.jupiter:junit-jupiter-engine'
//
start GRPC
//
GRPC Dependencies
// https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java
// https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java
compile
group:
'com.google.protobuf'
,
name:
'protobuf-java'
,
version:
'3.10.0'
compile
group:
'com.google.protobuf'
,
name:
'protobuf-java'
,
version:
'3.10.0'
// https://mvnrepository.com/artifact/io.grpc/grpc-all
// https://mvnrepository.com/artifact/io.grpc/grpc-all
compile
group:
'io.grpc'
,
name:
'grpc-all'
,
version:
'1.25.0'
compile
group:
'io.grpc'
,
name:
'grpc-all'
,
version:
'1.25.0'
//end GRPC
/* REST Dependencies
// https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-core-asl
compile group: 'org.codehaus.jackson', name: 'jackson-core-asl', version: '1.9.2'
// https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-jaxrs
compile group: 'org.codehaus.jackson', name: 'jackson-jaxrs', version: '1.9.2'
// https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-mapper-asl
compile group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version: '1.9.2'
// https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-xc
compile group: 'org.codehaus.jackson', name: 'jackson-xc', version: '1.9.2'
// https://mvnrepository.com/artifact/com.sun.jersey/jersey-client
compile group: 'com.sun.jersey', name: 'jersey-client', version: '1.19.1'
// https://mvnrepository.com/artifact/com.sun.jersey/jersey-core
compile group: 'com.sun.jersey', name: 'jersey-core', version: '1.19.1'
// https://mvnrepository.com/artifact/com.sun.jersey/jersey-json
compile group: 'com.sun.jersey', name: 'jersey-json', version: '1.19.1'
// https://mvnrepository.com/artifact/com.sun.jersey/jersey-server
compile group: 'com.sun.jersey', name: 'jersey-server', version: '1.19.1'
// https://mvnrepository.com/artifact/com.sun.jersey/jersey-servlet
compile group: 'com.sun.jersey', name: 'jersey-servlet', version: '1.19.1'
// https://mvnrepository.com/artifact/org.codehaus.jettison/jettison
compile group: 'org.codehaus.jettison', name: 'jettison', version: '1.1'
// https://mvnrepository.com/artifact/javax.ws.rs/jsr311-api
compile group: 'javax.ws.rs', name: 'jsr311-api', version: '1.1.1'
// https://mvnrepository.com/artifact/com.sun.jersey/jersey-server
compile group: 'com.sun.jersey', name: 'jersey-server', version: '1.2'
*/
/* MQTT Dependencies
// https://mvnrepository.com/artifact/org.eclipse.paho/org.eclipse.paho.client.mqttv3
compile group: 'org.eclipse.paho', name: 'org.eclipse.paho.client.mqttv3', version: '1.2.5'
*/
}
}
//
start
GRPC
// GRPC
sourceSets
{
sourceSets
{
main
{
main
{
java
{
java
{
...
@@ -89,8 +51,6 @@ protobuf {
...
@@ -89,8 +51,6 @@ protobuf {
}
}
}
}
//end GRPC
test
{
test
{
useJUnitPlatform
()
useJUnitPlatform
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment