6 ms·
Wow! That is interesting, :D Will try to see what happens.
by robinshen 7y ago
Wow! That is interesting, :D Will try to see what happens.
- sandGorgon 7y agoFYI - your code does not build for me because of dependency resolution issues. Not sure why. I'm using latest Idea.
- robinshen 7y agoPlease run below from command line first to see if it works: mvn clean package
- sandGorgon 7y agoyes. it does. basically the standard ide was croaking on your use of a private artifactory. Any particular reason why you have structured this way ? could you not pull all your source code in a single build process ? gradle will make the builds very effective - extremely performant on modular builds
- robinshen 7y agoI put some common libraries into a private artifactory as I want to reduce the whole build time. The reason I am using Maven build instead of Gradle is that I can use M2E in Eclipse which can compile the project incrementally very fast while I am editing files.
- sandGorgon 7y agoIt's not advisable to split code like this. The better way is to use gradle and make it a multi-module build. First time will take time , but each time it will only compile incrementally. Blazing fast and good management. All of android now uses this, so this is not new
- robinshen 7y agoMy main concern is that gradle might not work as well as M2E in Eclipse which makes incremental compiling blazing fast (less than 1 sec for editing and compiling)
- eitland 7y agoThanks! As long as maven works for you, just stick to it. I'm also happy that it is plain Java as it means I can contribute without learning IntelliJ or anything special.
- robinshen 7y agoThanks for willing to contribute. I will write some guideline for that later. Also it is possible to develop in IntelliJ, just that you need to run "mvn compile" from command line every time you changes the dependencies. While in Eclipse, it is fully automated with help of M2E.
- eitland 7y agoNo worries. For some reason I personally prefer NetBeans and Eclipse to IntelliJ, that's why I appreciate that you stick with plain Java and Maven instead of Kotlin and Gradle :-)
- sandGorgon 7y agogradle works on commandline. Gradle has nothing to do with intellij. Gradle supports modular building and other cool things that improves productivity. And a gradle build file is like 1/10th of a POM.XML file. Try it sometime.
- eitland 7y agoI didn't say that Gradle demanded IntelliJ. What I meant was that if author had switched to Kotlin it would have been hard to contribute without IntelliJ.
- robinshen 7y agoEventually I will move those libraries to maven central for better public access.