- Database now has insert in background (not tested tho) - Hue lights tested on simulator - LocalServerReciver.java is now part of package, but still throw exception (maybe is not only this class) - Sleep class have changed (not tested) - Fitbit now thread safe (maybe?) - build.gradle cleaned * for all the classes not tested is because i need the account fitbit, and TROPPO SBATTI for ask
51 lines
1.4 KiB
Groovy
51 lines
1.4 KiB
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group 'SeniorAssistant'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
maven {
|
|
url("https://plugins.gradle.org/m2/")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// Tests
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
|
|
// Database
|
|
compile "org.xerial:sqlite-jdbc:3.21.0.1"
|
|
|
|
// Rest request
|
|
compile 'org.apache.httpcomponents:httpclient:4.5.6'
|
|
|
|
// Z-way
|
|
compile files('lib/zway-lib-0.2.9-SNAPSHOT.jar')
|
|
|
|
// Logger
|
|
compile 'org.slf4j:slf4j-simple:1.7.25'
|
|
|
|
// Server Spark
|
|
compile "com.sparkjava:spark-core:2.7.2"
|
|
|
|
// Oauth
|
|
// compile group: 'org.pac4j', name: 'spark-pac4j', version: '2.3.0' //todo use this insted?
|
|
compile ( group: 'com.google.oauth-client', name: 'google-oauth-client-jetty', version: '1.23.0') {
|
|
// don't pull in an old ancient jetty version
|
|
exclude group: 'org.mortbay.jetty', module: 'jetty'
|
|
exclude group: 'org.mortbay.jetty', module: 'jetty-util'
|
|
exclude group: 'org.mortbay.jetty', module: 'servlet-api'
|
|
}
|
|
compile 'com.google.api-client:google-api-client:1.23.0'
|
|
|
|
// DialogFlow
|
|
compile group: "ai.api", name:"libai", version:"1.6.12"
|
|
|
|
// objectMapper for fitbitdata
|
|
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.5' // maybe duplicate in google-api
|
|
}
|