Skip to content
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

Split MAS into smaller submodules #251

Merged
merged 34 commits into from
Jan 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
55b6c02
project skeleton
zugaldia Jan 4, 2017
5357710
with submodules now
zugaldia Jan 4, 2017
73cae5e
with submodules now
zugaldia Jan 4, 2017
ce15772
dependency chain
zugaldia Jan 4, 2017
e4ec0a5
handle dependencies in a central location
zugaldia Jan 4, 2017
adbbeba
move geojson classes to new module
zugaldia Jan 4, 2017
dbd67c9
mas services in its package now
zugaldia Jan 4, 2017
896d945
libandroid ui moved to its own package
zugaldia Jan 4, 2017
e071cc5
testapp moved
zugaldia Jan 4, 2017
cac5dc8
moved java tests
zugaldia Jan 4, 2017
152d42c
fixed testapp
zugaldia Jan 4, 2017
ae2be74
moved java tests
zugaldia Jan 4, 2017
7f5ced9
overview.html files
zugaldia Jan 4, 2017
cc03c64
proguard-rules.pro files
zugaldia Jan 4, 2017
ee83601
merge CHANGELOG.md files into one
zugaldia Jan 4, 2017
e342523
dexcount-gradle-plugin
zugaldia Jan 4, 2017
07b4ace
gradle-mvn-push.gradle files renamed to gradle-mvn-push-android.gradl…
zugaldia Jan 4, 2017
a948bc2
gradle-checkstyle.gradle rules
zugaldia Jan 4, 2017
31a5153
gradle settings for all modules
zugaldia Jan 5, 2017
ef07b4e
gradle settings for all modules
zugaldia Jan 5, 2017
8d7e872
update Makefile for javadocs generation
zugaldia Jan 5, 2017
7932e10
add Makefile rule for checkstyle
zugaldia Jan 5, 2017
d57743c
fixed tests
zugaldia Jan 5, 2017
be8edb5
fix build releases rule
zugaldia Jan 5, 2017
1e6df13
add two more rules to Makefile: publish-local and dex-count
zugaldia Jan 5, 2017
4ac7ac1
fix duplicate setting debug/release
zugaldia Jan 5, 2017
cb6b5a5
fix dependencies that should be test-only
zugaldia Jan 5, 2017
af4ab12
provide warning if token isn't found
zugaldia Jan 5, 2017
e254fab
small fixes on the geocoder widget
zugaldia Jan 5, 2017
93e45c4
add publish task
zugaldia Jan 5, 2017
dc5b196
update bitrise rules
zugaldia Jan 5, 2017
c3469bf
upload snapshots is up and running
zugaldia Jan 5, 2017
4bd4fe3
remove code that has been moved to the new structure
zugaldia Jan 5, 2017
7a6b8a5
make sure all modules share a version and group
zugaldia Jan 5, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
67 changes: 64 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,65 @@
## Mapbox Java and Android Services Changelog
## Changelog for Mapbox Java and Android Services

* Mapbox Java Services: [`/libjava/CHANGELOG.md`](libjava/CHANGELOG.md)
* Mapbox Android Services: [`/libandroid/CHANGELOG.md`](libandroid/CHANGELOG.md)
Mapbox welcomes participation and contributions from everyone.

### v1.3.2

* Geocoding: added poi.landmark type

### v1.3.1

* GeoJson: Feature properties are now properly serialized and raw array tests have been added
* Introduce checkstyle to the project

### v1.3.0

* `RouteUtils` class to simplify work with `RouteLeg` objects
* `geojson-tidy` integrated with Map Matching client
* Added Turf's `midpoint`, `along`, and `within` methods
* Added an example to showcase Turf's `lineslice`
* Geocoding widget now supports the `bbox` parameter

### v1.2.1

* Bring back `toString()` method in `CarmenFeature`
* Fixes regresion in `GeocoderAutoCompleteView`

Full changelog: https://github.com/mapbox/mapbox-java/issues?q=milestone%3Av1.2.1+is%3Aclosed

### v1.2.0

* Support for the Map Matching API
* Improved Geocoder API (including support for `wikidata` and `bbox`)
* Better Static Image API
* Some [Turf](http://turfjs.org/) methods ported to Java: `TurfMeasurement.bearing`, `TurfMeasurement.destination`, `TurfMeasurement.distance`, `TurfMeasurement.lineDistance`, `TurfHelpers.distanceToRadians`, `TurfHelpers.radiansToDistance`, `TurfMisc.lineSlice`
* [`simplify-js`](https://github.com/mourner/simplify-js) ported to Java
* Updated to `libjava` v1.2.0
* Several examples added to the TestApp
* Improved documentation

Full changelog: https://github.com/mapbox/mapbox-java/issues?q=milestone%3Av1.2.0+is%3Aclosed

### v1.1.0

* Support for directions API v5
* Support for Maki 3 and directions icons in Test App
* Fixed a bug where locale was different from `Locale.US`
* Updated to `libjava` v1.1.0
* Removed extra dependencies to reduce method count

Full changelog: https://github.com/mapbox/mapbox-java/issues?q=milestone%3Av1.1.0+is%3Aclosed

### v1.0.0

* Initial release: Java module with no Android dependencies
* Support for Geocoding API v5
* Support for Directions API v4 and v5
* Support for Static API v1
* RxJava support
* Support for GeoJSON objects
* Polyline encoder and decoder
* Initial release
* Full replacement for the stock `AndroidGeocoder`
* Geocoder autocomplete widget based on Android's `AutoCompleteTextView`
* Utility class to handle the new permission system in 6.0
* TestApp with sample code for directions v4 and v5, geocoding (reverse, widget, service), and static image with Picasso
55 changes: 51 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,56 @@
checkstyle:
cd mapbox; ./gradlew checkstyle

test-java:
cd mapbox; ./gradlew :libjava-core:test
cd mapbox; ./gradlew :libjava-geojson:test
cd mapbox; ./gradlew :libjava-services:test
cd mapbox; ./gradlew :libjava-services-rx:test

test-android:
cd mapbox; ./gradlew :libandroid-telemetry:test
cd mapbox; ./gradlew :libandroid-services:test
cd mapbox; ./gradlew :libandroid-ui:test

build-release-java:
cd mapbox; ./gradlew :libjava-core:assemble
cd mapbox; ./gradlew :libjava-geojson:assemble
cd mapbox; ./gradlew :libjava-services:assemble
cd mapbox; ./gradlew :libjava-services-rx:assemble

build-release-android:
cd mapbox; ./gradlew :libandroid-telemetry:assembleRelease
cd mapbox; ./gradlew :libandroid-services:assembleRelease
cd mapbox; ./gradlew :libandroid-ui:assembleRelease

javadoc:
# Output is ./libjava/lib/build/docs/javadoc
cd libjava; ./gradlew javadocGeneration
# Java modules
# Output is in ./mapbox/*/build/docs/javadoc
cd mapbox; ./gradlew :libjava-core:javadocGeneration
cd mapbox; ./gradlew :libjava-geojson:javadocGeneration
cd mapbox; ./gradlew :libjava-services:javadocGeneration
cd mapbox; ./gradlew :libjava-services-rx:javadocGeneration

# Android modules
# Output is ./mapbox/*/build/docs/javadoc/release
cd mapbox; ./gradlew :libandroid-telemetry:javadocrelease
cd mapbox; ./gradlew :libandroid-services:javadocrelease
cd mapbox; ./gradlew :libandroid-ui:javadocrelease

publish-java:
cd mapbox; ./gradlew :libjava-core:uploadArchives
cd mapbox; ./gradlew :libjava-geojson:uploadArchives
cd mapbox; ./gradlew :libjava-services:uploadArchives
cd mapbox; ./gradlew :libjava-services-rx:uploadArchives

publish-android:
cd mapbox; ./gradlew :libandroid-telemetry:uploadArchives
cd mapbox; ./gradlew :libandroid-services:uploadArchives
cd mapbox; ./gradlew :libandroid-ui:uploadArchives

# Output is ./libandroid/lib/build/docs/javadoc/release
cd libandroid; ./gradlew javadocrelease
dex-count:
cd mapbox; ./gradlew countDebugDexMethods
cd mapbox; ./gradlew countReleaseDexMethods

geocoding-fixtures:
# Geocoding: 1600 Pennsylvania Ave NW
Expand Down
40 changes: 0 additions & 40 deletions libandroid/CHANGELOG.md

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion libandroid/app/src/main/res/values/.gitignore

This file was deleted.

26 changes: 0 additions & 26 deletions libandroid/gradle.properties

This file was deleted.

60 changes: 0 additions & 60 deletions libandroid/lib/build.gradle

This file was deleted.

17 changes: 0 additions & 17 deletions libandroid/lib/gradle-checkstyle.gradle

This file was deleted.

19 changes: 0 additions & 19 deletions libandroid/lib/gradle.properties

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions libandroid/lib/src/main/AndroidManifest.xml

This file was deleted.

13 changes: 0 additions & 13 deletions libandroid/lib/src/main/java/overview.html

This file was deleted.

5 changes: 0 additions & 5 deletions libandroid/settings.gradle

This file was deleted.

Loading