bindiff icon indicating copy to clipboard operation
bindiff copied to clipboard

Add gradle wrapper to `java/`

Open mochaaP opened this issue 6 months ago • 2 comments

@cblichmann Please run gradle wrapper on your local developer machine to generate a gradlew file in java/ to lock the Gradle version in this repository.

I first tried Gradle 6.8.3 (as stated in README.md) but it actually requires Gradle 8.0+:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/mochaa/ghq/github.com/google/bindiff/java/ui/build.gradle' line: 27

* What went wrong:
A problem occurred evaluating project ':ui'.
> Failed to apply plugin class 'com.github.jengelman.gradle.plugins.shadow.ShadowBasePlugin'.
   > This version of Shadow supports Gradle 8.0+ only. Please upgrade.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

mochaaP avatar Jun 17 '25 13:06 mochaaP

Shouldn't we rather update the README? I'm not terribly fond of those gradlew files.

cblichmann avatar Jun 17 '25 13:06 cblichmann

Sure we should also update the README files.

afaik using gradlew is the most common way to manage side-by-side Gradle installations so it should be a nice addition to have for other developers to work on this.

mochaaP avatar Jun 17 '25 13:06 mochaaP