- removed milestone
Port the project to Gradle
No description provided.
Comments (18)
-
reporter -
reporter - changed milestone to 0.9.4 - Port to maven
-
Alternative can be: http://gradle.org Syntax is much simpler, and there are features which can be helpful for deployment, testing, etc.
-
I've added a feature/gradle branch to show how this could look like. Could be used for streaming service (can elaborate in detail).
-
reporter - changed milestone to 0.2.1 - Liquidity distribution model
-
assigned issue to
- changed title to Port the project to Gradle
-
Ok, the port went quicker than I thought. I can help setting things up with IDE etc. Basically the build.gradle is the same as build.xml for ant. Difference is it manages dependencies, like Maven does.
Current build.gradle includes
- dependency management
- Junit test functionality
More is added at the bottom, currently commented out, which shows which other things we might include later.
Left todo is
#172, i.e. moving 3 jars. -
- marked as major
-
This is more info on CI with gradle - something for later.
https://speakerdeck.com/bmuschko/building-a-continuous-delivery-pipeline-with-gradle-and-jenkins
-
Ok, I found a better way to do all this.
- Gradle allows to import a ant build.xml. So now I will port so that gradle can be used with existing build.xml.
- Remove the Net-Beans specifics in build.xml.
- After that we can slowly move functionality without breaking anything. First with old dependencies.
- then the 2-3 new dependencies I have.
-
@desrever if you install gradle and checkout the latest develop, you can run gradle tasks to see all the ant tasks. This should work on your machine. It does not on mine, because I don't have net-beans. I'm testing with Netbeans 8.0.2 SE now.
the build-impl contains a lot of tasks. we only have to port the 1-2 that are needed I think: clean, init, compile, jar, javadoc are the standard ones. All that boilerplate code (1000 LOC) shouldn't be needed. But as long as the gradle-ant import works it should be fine.
-
New branch for the slow port:
https://bitbucket.org/JordanLeePeershares/nubottrading/commits/branch/feature/69_gradle_slow
-
I've ported the rest. feature/69 is the relevant branch.
-
Ported everything as in ant. Only modification:
- copy LICENSE.md and CHANGELOG.md into root of distribution
-
reporter - changed milestone to 0.3.1 - Price-feed streaming service implementation
-
- changed status to resolved
port is done. testing needed - separate issue
-
reporter - changed milestone to 0.2.1 - Price-feed streaming service implementation
-
reporter - changed milestone to 0.3.1 - Price-feed streaming service implementation
-
reporter - changed milestone to 0.3.1 - Price-feed streaming service implementation&integration
- Log in to comment
Removing milestone: 0.2.0 (automated comment)