

To resolve this issue (and any similar version mismatches), you should follow Gradle’s guide on altering the versions of transitive dependencies. That itself has a dependency on a different version of the Okio library. This occurs when your project adds another gradle plugin to your > $default(Ljava/io/File ZILjava/lang/Object )Lokio/Sink Some users have reported that the BugSnag Android Gradle Plugin can throw a NoSuchMethodError: Execution failed for task ':app:processBugsnagReleaseManifest'. You will also need to update the meta-data element at the bottom of your app manifest file ( AndroidManifest.xml) accordingly: FAQ BugSnag Android Gradle Plugin throws a NoSuchMethodError

You can disable automatic upload via the bugsnag extension: bugsnag In this pic, you see that the jar included in the hellofx.app contains proguarded classes only.The plugin only supports uploading mapping files from application modules. When running ProGuard on Gradle 6, the following deprecation warnings appear: on 166 mentioned this issue on Missing Annotation - Gradle 7 205 Sign up for free to join this conversation on GitHub. The same applies to jpackage: :cleanClasses Also, for some reason, sometimes Proguard just says that the current obfuscated jar is 'up-to-date' even when there's no jar, seems to be a bug that I could not find the steps to reproduce. Running build/image/bin/hellofx should work. 1 I got this working some time ago, refer to the Proguard manual to learn about the syntax of its configuration file. gradlew clean runtime will generate a runtime image based on a proguarded hellofx.jar. This will be the task order now: :cleanClasses If(.OperatingSystem.current().windows) /proguard/output.jar") JpackageHome = 'C:/Program Files/Java/openjdk-14-jpackage+1-49_windows-圆4_bin/'

Id '' version '0.0.8'Ĭompile "org.controlsfx:controlsfx:11.0.0"Ĭompile ":httpclient:4.5.9"Ĭompile "mysql:mysql-connector-java:8.0.17"Ĭompile "commons-validator:commons-validator:1.6"Ĭompile 'org.openjfx:javafx-controls:11:win'Ĭompile 'org.openjfx:javafx-graphics:11:win' Include proguard dependencyĬlasspath 'net.sf.proguard:proguard-gradle:6.2.0' I've tried a few code snippets but they all failed to build and I dont want to clutter this topic with a bunch of non-working code. Ive found a tutorial ( Tutorial) for an older gradle version however im not sure how to mix this with the current plugins. I can run the proguard tasks, but when I run jPackage, the code doesnt get obfuscated!

How do I use proguard so the code gets obfuscated and optimized before jPackage do its job? My current gradle version is: gradle-5.6.2-all The main plugins im using are: id '' version '0.0.8' Im developing an app in JavaFx using gradle plugins and packaging it with jPackager, also using the gradle plugins.
