JUnit4Android icon indicating copy to clipboard operation
JUnit4Android copied to clipboard

maven central

Open carrot-garden opened this issue 12 years ago • 2 comments

hey, can you please release this to maven central? thanks.

carrot-garden avatar Jan 23 '13 16:01 carrot-garden

Could be done like described here: http://stackoverflow.com/questions/13884512/how-do-i-create-an-apklib-for-a-non-maven-project In this case however, JUnit4Android's dependencies for Junit 4 and Hamcrest should also be resolved by Maven. This means, JUnit4Android must become a Maven project itself. This is time-consuming. If you have any suggestions on how to quickly solve this, please let me know. My experience is, that external build tools (I used Ant so far) are really slow. The reason is, that the command line dx tool is much slower than the one built into the ADT Plugin. That's why I stopped using Ant and recommend to use Eclipse-Android Projects.

dthommes avatar Jan 23 '13 20:01 dthommes

well, I need to run tests in jenkins, so for me maven is a must. normally, I have both ide and maven build system configured for all projects with: http://code.google.com/p/maven-android-plugin/ so there is no contradiction between "fast in eclipse" vs "slow in jenkins"

there is no way to "quickly solve this". here are the "normal" steps to mavenize your development https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide

I guess I have to steal/package your code myself. :-)

although I have not decided which way to go: https://github.com/esmasui/AndroidJUnit4 or https://github.com/dthommes/JUnit4Android

I am curious what is your opinion of AndroidJUnit4?

thank you.

carrot-garden avatar Jan 23 '13 20:01 carrot-garden