I have a standard android project where I have an src/test folder with all my Junit test. However I want to run these tests outside of the Gradle build tool, I.e. the person running these tests does not need to pull the android project and run a gradle build. My thought is to build a test aar/jar file and run the tests via standard java command:
i.e. java -jar junit-platform-console-standalone-.jar test.jar
Would this work? I tried searching online but couldn't find example how to configure the gradle file correctly to build the right jar/aar to export.
2.1m questions
2.1m answers
60 comments
57.0k users