Commit 78d9c641 authored by Luca Arrotta's avatar Luca Arrotta

Update build.gradle

parent 0b4295d8
...@@ -15,16 +15,7 @@ dependencies { ...@@ -15,16 +15,7 @@ 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'
// GRPC Dependencies // REST Dependencies
/*
// https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java
compile group: 'com.google.protobuf', name: 'protobuf-java', version: '3.10.0'
// https://mvnrepository.com/artifact/io.grpc/grpc-all
compile group: 'io.grpc', name: 'grpc-all', version: '1.25.0'
//end GRPC
//start REST
// https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-core-asl // https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-core-asl
compile group: 'org.codehaus.jackson', name: 'jackson-core-asl', version: '1.9.2' compile group: 'org.codehaus.jackson', name: 'jackson-core-asl', version: '1.9.2'
// https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-jaxrs // https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-jaxrs
...@@ -50,46 +41,13 @@ dependencies { ...@@ -50,46 +41,13 @@ dependencies {
// https://mvnrepository.com/artifact/com.sun.jersey/jersey-server // https://mvnrepository.com/artifact/com.sun.jersey/jersey-server
compile group: 'com.sun.jersey', name: 'jersey-server', version: '1.2' compile group: 'com.sun.jersey', name: 'jersey-server', version: '1.2'
*/
// MQTT Dependencies // MQTT Dependencies
// https://mvnrepository.com/artifact/org.eclipse.paho/org.eclipse.paho.client.mqttv3 // 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' compile group: 'org.eclipse.paho', name: 'org.eclipse.paho.client.mqttv3', version: '1.2.5'
//end MQTT
}
/* GRPC stuff
sourceSets {
main {
java {
srcDirs 'build/generated/source/proto/main/grpc'
srcDirs 'build/generated/source/proto/main/java'
}
}
} }
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.10.1'
}
plugins {
grpc {
artifact = 'io.grpc:protoc-gen-grpc-java:1.25.0'
}
}
generateProtoTasks {
all()*.plugins {
grpc {}
}
}
}
*/
test { test {
useJUnitPlatform() useJUnitPlatform()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment