Skip to content

Commit

Permalink
Fixing Android build
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianromero committed Mar 7, 2018
1 parent 91e462b commit 02821fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,19 @@ 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')
storePassword '123456'
keyAlias 'app'
keyPassword '123456'
}

}
embedded {
remotePlatforms {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/adr/helloiot/ManagerComposed.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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));
}
}

0 comments on commit 02821fa

Please sign in to comment.