Trying to prepare for gradle 7.0, I have tried to replace my “compile” dependencies with “api” dependencies. When I do this, however, I get
Could not find method api() for arguments ...
Has anybody any idea what can go wrong here?
The statements are:
compile project(':org.jgrapes.io') compile 'org.jdrupes.httpcodec:httpcodec:[2.0.3,3)'