How to throw compilation error if interface default methods are used?

73 Views Asked by At

I do not want the interfaces to have default methods in the code base owned by my team. Is it possible to compile with some specific flag which will error out for the same? I do not care about any dependencies having interface default methods.

0

There are 0 best solutions below