In Koltin/Java how to force a local project class to be overridden with a class of the same name from a Maven dependency?
I have a class A which exists in package com.A
I want to keep this class as a type-safe place holder and then override it with a class of the same name com.A and generic parameterization A, which is located in a maven dependency which the project references.
Kotlin code:
so in the main project we have:
package com
class A{}
and in the dependancy project we have:
package com
class A{
fun extraStuff(){
// ...
}
}
Currently the project is using the local class only...