I tried to migrate from Gradle 4.8 to Gradle 5.0 RC1 and everything seemed fine except the unit-testing.
I got compilation errors when running JUnit 4 tests (I have both JUnit 4/JUnit 5 tests):
error: cannot find symbol
assertNotNull(fields);
^
symbol: method assertNotNull(List<String>)
location: class ReflectionUtilTest
Although I have necessary static import (import static org.junit.Assert.* in the ReflectionUtilTest class.
Here is a part of my Gradle script (related to tests):
The vintage engine only has a runtime dependency in junit4. You shouldn’t have a compile dependency on the engine. Instead you should have a compile dependency on junit4 and a runtime dependency on the vintage engine.