Enable ccache for android studio. (#269)

This commit is contained in:
Kevin Li
2020-03-09 22:00:06 +08:00
committed by GitHub
parent 04722fdefd
commit ea7bc213a2

View File

@@ -34,6 +34,11 @@ android {
buildConfigField "String", "MAPBOX_VERSION_STRING", String.format("\"Mapbox/%s\"", project.VERSION_NAME)
buildConfigField "String", "MAPBOX_EVENTS_USER_AGENT", String.format("\"mapbox-maps-android/%s\"", project.VERSION_NAME)
consumerProguardFiles 'proguard-rules.pro'
externalNativeBuild {
cmake {
arguments '-DANDROID_CCACHE=ccache'
}
}
}
// build native libraries