imTigger / webapp-hardware-bridge

Silent print and serial ports for web!
MIT License
139 stars 74 forks source link

Replace deprecated gradle syntax #36

Closed glanch closed 3 years ago

glanch commented 3 years ago

Issue

The compile and testCompile keywords were eliminated from gradle and were replaced with implementation and testImplementation. The current build.gradle contains the deprecated keywords. Due to the deprecation gradle cannot process the build.gradle and exits with error messages, e.g.:

A problem occurred evaluating root project 'webapp-hardware-bridge'.
> Could not find method compile() for arguments [{group=org.apache.logging.log4j, name=log4j-api, version=2.11.2}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Solution

Replace compile with implementation and testCompile with testImplementation