Skip to content

Conversation

@wcmatthysen
Copy link
Member

Description of the Change

This commit contains an initial gradle configuration that allows for the worldwind.jar and worldwindx.jar files to be built. The tests are run and the javadoc can also be built.

Why Should This Be In Core?

We want to migrate to gradle as our primary way of building the project.

Benefits

All of the benefits of using gradle (such as dependency management etc. etc.)

Potential Drawbacks

None at the moment

Applicable Issues

Issue #11

This commit contains an initial gradle configuration that allows for the
worldwind.jar and worldwindx.jar files to be built. The tests are run
and the javadoc can also be built.
@wcmatthysen wcmatthysen added the enhancement New feature or request label Apr 17, 2019
@wcmatthysen wcmatthysen added this to the WWJ-CE 2.2.0 milestone Apr 17, 2019
@wcmatthysen wcmatthysen self-assigned this Apr 17, 2019
@wcmatthysen
Copy link
Member Author

Damn, I see the build is failing. We might have to configure travis to ignore the gradle build settings for now. Just have to see how we can do it. We should still build with ant for now. The gradle build changes are still in alpha.

@emxsys
Copy link
Member

emxsys commented Apr 17, 2019

I'm happy to look into the travis configuration. I wonder if this issue can be addressed with a matrix.

@wcmatthysen
Copy link
Member Author

@emxsys, that would be great. I'm not too clued up with the travis stuff.

@emxsys
Copy link
Member

emxsys commented Apr 17, 2019

@wcmatthysen I updated the .travis.yml in PR #34 to resolve this issue.

Modified the build.gradle file to allow for debug-builds. This is
accomplished by specifying the property -PdebugBuild=true on the
command-line. The dependency-versions was also moved out to the ext
property clause and is now referenced in the dependencies block. A group
and description was added to the extensionsJar-task so that it correctly
falls under the build-group with the correct description when invoking
`gradle tasks`.
@emxsys emxsys merged commit 9312416 into WorldWindEarth:develop Apr 17, 2019
@wcmatthysen wcmatthysen deleted the gradle branch April 17, 2019 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants