I know there are ways to integrate scala into a java project if we are using maven. If you are using maven, you can refer the link below Integrating Scala into an existing project in Java
But can we do it using gradle?
You can see that java and scala classes coexist within the same package