-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor project structure to one single module #103
base: master
Are you sure you want to change the base?
Conversation
@android10 will this structure changes affect the time required for gradle to build the project? |
English below. Hola Fernando, en mi opinión no veo conveniente mover las capas en un único módulo, ya que perderíamos la restricción que los módulos nos proporcionan, y por desgracia se podrían, por ejemplo, hacer referencias a elementos u objetos de la capa de presentación dentro de la capa de datos. He tenido el mismo problema para compilar la batería de todos los tests en el servidor de integración, pero como solución temporal y para evitar tener que usar sólo un módulo podríamos, por ejemplo, sólo mover los tests al módulo principal, ¿que te parece por ahora? ———————— In my opinion, I don’t think it’s a good idea moving everything into a unique module, because we are going to miss the good restrictions the modules give us, so unfortunately someone could reference objects or any other kind of elements from the presentation layer into data layer. The compiling tests issue you mention happened to me as well in the CI server, but to avoid merging everything in one module, I would like to suggest for now, to move just those tests from the other modules into the main module, What do you think? |
@amatkivskiy @kuassivi really appreciate the input and I do understand the needs, so that is why I started a discussion here: #112 Feel free to join, we wanna take the best path here 🔥 😄 |
Hello Fernando!
UPD 26 Sep 2016:
|
bf59455
to
2096d04
Compare
Back in time, there were limitations for configuring test frameworks to work all together in the same module on an Android Application, specially if your test battery included Acceptance, Integration and Unit Test.
This PR aims to refactor project structure to sit on one application module avoiding maintainability and configuration overhead. Basically, the idea is to get rid of current presentation, domain and data module, and create an application module with a better package organization/structure.
This is a WORK IN PROGRESS and a good candidate for discussion. There is no final decision to merge it.