Closed wcmatthysen closed 5 years ago
@gbburkhardt, @Sufaev, I made a couple of fixes to the build.gradle
file. Most of the functionality of the ant build scripts have been mirrored except for the Webstart stuff. However, as Webstart is dead we can probably omit it altogether.
Note: to build against the system GDAL you can pass the following parameter when building:
gradle build -PsystemGDAL
I'll have to have a look at whether we can use this parameter during runtime with NetBeans to force it to use the system-based GDAL as dependency when launching one of the main classes.
Description of the Change
Additional changes and fixes to the
build.gradle
file. In particular we can now build the MilStd2525 symbology zip file as well as launch the layer-manager example via therunLayerManager
task. The dependency declarations have been fixed by swapping the "compile" clauses with "implementation" and vice versa (this was incorrectly declared initially). We also now have the ability to build against the system GDAL jar if required.Why Should This Be In Core?
The
build.gradle
file is now more complete and covers most of the functionality of the ant build script. We just lack the webstart clauses.Benefits
More complete gradle build script.
Potential Drawbacks
None
Applicable Issues
None