im still quite new to gradle. I decided to transfer some code i oft use into an subproject. This subproject is a pure java project, so im using only the apply plugin: 'java' there.
I can build this project and in the build folder is see a jar which contains the compiled classes after the gradle assemble command was invoked.
What really bugs me at the moment is, how can i use the classes in my Android project using Android Studio ?
I tried to use the compile project command:
compile project(':PureJavaSubProject')
And it compiles the Project as expected. But Android Studio is not able to see the artifacts created by the Project ?
I read a bit in the Gradle Docs about Artifacts management but the Doc is not clear for me.
Anyone can point me how i need to declare or setup the gradle build to make it work ?