Dawit #1

Merged
DawitG96 merged 10 commits from dawit into master 2018-06-01 21:36:48 +02:00
4 changed files with 14 additions and 6 deletions
Showing only changes of commit 8c2d94d90a - Show all commits

10
.gitignore vendored
View File

@@ -11,7 +11,7 @@
.mtj.tmp/
# Package Files #
*.jar
# *.jar // need zway lib
*.war
*.ear
*.zip
@@ -22,9 +22,17 @@
hs_err_pid*
/bin/
# Mi sono rotto di intellij e gradle
# anche se comunque per qualche ragione non funziona
# Perche' cointiunua a darmi i file di queste due cartelle??
.idea/
.idea/*.xml
.gradle/
# eclipse things #
.classpath
.project
.settings
.gradle
/build/

View File

@@ -23,7 +23,7 @@ dependencies {
// z-way-lib and all its dependencies (from https://github.com/pathec/ZWay-library-for-Java)
compile files('lib/zway-lib-0.2.9-SNAPSHOT.jar')
compile 'com.google.code.gson:gson:2.4'
// compile 'com.google.code.gson:gson:2.4' //already up there
compile 'org.apache.commons:commons-lang3:3.4'
compile 'org.eclipse.jetty:jetty-client:9.3.11.v20160721'
compile 'org.eclipse.jetty:jetty-http:9.3.11.v20160721'

Binary file not shown.

View File

@@ -56,7 +56,7 @@ public class Hue {
/*public void setAttribute(String attribute, String value){
for (String light : allLights.keySet()) {
String callURL = lightsURL + light + "/state";
String body = "{ \"+attribute+\" : "+value+" }";
String body = "{ \""+attribute+"\" : "+value+" }";
Rest.put(callURL, body, "application/json");
}
}*/