GoogleCloudPlatform / dataflow-video-analytics

Video Clip Analytics By Using Dataflow and Video AI For Object Tracking
35 stars 30 forks source link

A problem occurred evaluating root project 'dataflow-video-analytics'. #17

Open wallwriting opened 2 years ago

wallwriting commented 2 years ago

When I run gradle spotlessApply -DmainClass=com.google.solutions.df.video.analytics.VideoAnalyticsPipeline, it gives me an error:

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s

mdavis6890 commented 2 years ago

You might need to downgrade Gradle to be compatible. Something like this:

wget https://services.gradle.org/distributions/gradle-6.9.2-bin.zip
sudo unzip -d /opt/gradle gradle-6.9.2-bin.zip
export PATH=/opt/gradle/gradle-6.9.2/bin:$PATH