diff --git a/build.gradle b/build.gradle index a72fc90..7d4d624 100644 --- a/build.gradle +++ b/build.gradle @@ -108,6 +108,11 @@ jfxmobile { compileSdkVersion = '24' minSdkVersion = '24' manifest = 'src/android/AndroidManifest.xml' + packagingOptions { + exclude 'epl-v10.html' + exclude 'edl-v10.html' + exclude 'notice.html' + } signingConfig { // keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias app storeFile file('my-release-key.jks') @@ -115,6 +120,7 @@ jfxmobile { keyAlias 'app' keyPassword '123456' } + } embedded { remotePlatforms { diff --git a/src/main/java/com/adr/helloiot/ManagerComposed.java b/src/main/java/com/adr/helloiot/ManagerComposed.java index 6a3984d..d38481f 100644 --- a/src/main/java/com/adr/helloiot/ManagerComposed.java +++ b/src/main/java/com/adr/helloiot/ManagerComposed.java @@ -53,7 +53,7 @@ public void registerSubscription(String topic, int qos) { return; } } - LOGGER.warning(() -> String.format("Topic not registered. It does not exist any topic manager for topic \"%s\"", topic)); + LOGGER.warning(String.format("Topic not registered. It does not exist any topic manager for topic \"%s\"", topic)); } @Override @@ -78,6 +78,6 @@ public void publish(String topic, int qos, byte[] message, boolean isRetained) { return; } } - LOGGER.warning(() -> String.format("Message not published. It does not exist any topic manager for topic \"%s\"", topic)); + LOGGER.warning(String.format("Message not published. It does not exist any topic manager for topic \"%s\"", topic)); } }