[android] mapbox-gestures-android vendor
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -79,3 +79,6 @@
|
||||
[submodule "vendor/eternal"]
|
||||
path = vendor/eternal
|
||||
url = https://github.com/mapbox/eternal.git
|
||||
[submodule "platform/android/vendor/mapbox-gestures-android"]
|
||||
path = platform/android/vendor/mapbox-gestures-android
|
||||
url = https://github.com/mapbox/mapbox-gestures-android.git
|
||||
|
||||
7
Makefile
7
Makefile
@@ -719,7 +719,7 @@ android-check : android-checkstyle android-lint-sdk android-lint-test-app
|
||||
# Runs checkstyle on the Android code
|
||||
.PHONY: android-checkstyle
|
||||
android-checkstyle: platform/android/gradle/configuration.gradle
|
||||
cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=none checkstyle
|
||||
cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=none :MapboxGLAndroidSDK:checkstyle :MapboxGLAndroidSDKTestApp:checkstyle
|
||||
|
||||
# Runs lint on the Android SDK code
|
||||
.PHONY: android-lint-sdk
|
||||
@@ -758,6 +758,11 @@ endif
|
||||
android-configuration: platform/android/gradle/configuration.gradle
|
||||
cat platform/android/gradle/configuration.gradle
|
||||
|
||||
# Updates Android's vendor submodules
|
||||
.PHONY: android-update-vendor
|
||||
android-update-vendor: platform/android/gradle/configuration.gradle
|
||||
cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=none updateVendorSubmodules
|
||||
|
||||
# Creates a dependency graph using Graphviz
|
||||
.PHONY: android-graph
|
||||
android-graph:
|
||||
|
||||
@@ -531,6 +531,9 @@ jobs:
|
||||
MBGL_ANDROID_STL: << parameters.stl >>
|
||||
steps:
|
||||
- install-dependencies: { gradle: true }
|
||||
- run:
|
||||
name: Update vendor submodules
|
||||
command: make android-update-vendor
|
||||
- run:
|
||||
name: Check code style
|
||||
command: make android-check
|
||||
@@ -592,6 +595,9 @@ jobs:
|
||||
IS_LOCAL_DEVELOPMENT: false
|
||||
steps:
|
||||
- install-dependencies: { gradle: true }
|
||||
- run:
|
||||
name: Update vendor submodules
|
||||
command: make android-update-vendor
|
||||
- run:
|
||||
name: Generate Maven credentials
|
||||
command: |
|
||||
|
||||
@@ -6,7 +6,7 @@ dependencies {
|
||||
lintChecks project(":MapboxGLAndroidSDKLint")
|
||||
api dependenciesList.mapboxAndroidTelemetry
|
||||
api dependenciesList.mapboxJavaGeoJSON
|
||||
api dependenciesList.mapboxAndroidGestures
|
||||
api project(":MapboxAndroidGestures")
|
||||
implementation dependenciesList.mapboxJavaTurf
|
||||
implementation dependenciesList.supportAppcompatV7
|
||||
implementation dependenciesList.supportAnnotations
|
||||
|
||||
@@ -29,3 +29,4 @@ subprojects {
|
||||
// Load build system information. If this file does not exist, run
|
||||
// `make platform/android/gradle/configuration.gradle`
|
||||
apply from: "${rootDir}/gradle/configuration.gradle"
|
||||
apply from: "${rootDir}/gradle/gradle-update-vendor-modules.gradle"
|
||||
|
||||
@@ -10,7 +10,6 @@ ext {
|
||||
versions = [
|
||||
mapboxServices : '4.3.0',
|
||||
mapboxTelemetry : '4.1.1',
|
||||
mapboxGestures : '0.3.0',
|
||||
supportLib : '27.1.1',
|
||||
constraintLayout: '1.1.2',
|
||||
espresso : '3.0.2',
|
||||
@@ -32,7 +31,6 @@ ext {
|
||||
mapboxJavaServices : "com.mapbox.mapboxsdk:mapbox-sdk-services:${versions.mapboxServices}",
|
||||
mapboxJavaGeoJSON : "com.mapbox.mapboxsdk:mapbox-sdk-geojson:${versions.mapboxServices}",
|
||||
mapboxAndroidTelemetry : "com.mapbox.mapboxsdk:mapbox-android-telemetry:${versions.mapboxTelemetry}",
|
||||
mapboxAndroidGestures : "com.mapbox.mapboxsdk:mapbox-android-gestures:${versions.mapboxGestures}",
|
||||
|
||||
// for testApp
|
||||
mapboxJavaTurf : "com.mapbox.mapboxsdk:mapbox-sdk-turf:${versions.mapboxServices}",
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
task updateVendorSubmodules {
|
||||
"git submodule update --init --recursive vendor".execute()
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
include ':MapboxGLAndroidSDK', ':MapboxGLAndroidSDKTestApp', ':MapboxGLAndroidSDKLint'
|
||||
include ':MapboxGLAndroidSDK', ':MapboxGLAndroidSDKTestApp', ':MapboxGLAndroidSDKLint', ':MapboxAndroidGestures'
|
||||
project(':MapboxAndroidGestures').projectDir = new File('vendor/mapbox-gestures-android/library')
|
||||
1
platform/android/vendor/mapbox-gestures-android
vendored
Submodule
1
platform/android/vendor/mapbox-gestures-android
vendored
Submodule
Submodule platform/android/vendor/mapbox-gestures-android added at 796b778043
Reference in New Issue
Block a user