MobilityData / gtfs-realtime-bindings

Language bindings generated from the GTFS Realtime protocol buffer spec for popular languages.
Apache License 2.0
370 stars 127 forks source link

Replace compile with implementation for Java Gradle dependency #122

Closed qcdyx closed 1 year ago

qcdyx commented 1 year ago

compile group: 'org.mobilitydata', name: 'gtfs-realtime-bindings', version: '0.0.8'

The compile method is deprecated from gradle 4.0 and completely removed from gradle 7.0.

implementation group: 'org.mobilitydata', name: 'gtfs-realtime-bindings', version: '0.0.8' This should be used to avoid getting Errors: Could not find method compile() for arguments [{group=org.mobilitydata, name=gtfs-realtime-bindings, version=0.0.8}]

https://github.com/MobilityData/gtfs-realtime-bindings/blob/master/java/README.md