Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Added targetCompatibility flag to allow compilation with JDK > 1.8

Rich Turner638aa4e07792
diff --git a/project.gradle b/project.gradle
index 008051a7a..2b3567fbb 100644
--- a/project.gradle
+++ b/project.gradle
@@ -123,6 +123,7 @@ plugins.withType(JavaPlugin).whenPluginAdded {
// Use Java 8
tasks.withType(JavaCompile) {
sourceCompatibility = "1.8"
+ targetCompatibility = "1.8"
def warnLogFile = file("$buildDir/${name}Warnings.log")
logging.addStandardErrorListener(new StandardOutputListener() {
void onOutput(CharSequence output) {