* [android] integration of the new events library * JNI Bug - current build with JNI bug * fix #10999 comments * Clean-up - clean-up timbers and test code * [android] fix sdk identifier and sdk version * [android] merge from master (MAS 3.0) * [android] bump events lib version to 3.0.0-beta.1 and remove never used methods from math utils class
83 lines
2.6 KiB
Groovy
83 lines
2.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion androidVersions.compileSdkVersion
|
|
buildToolsVersion androidVersions.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
applicationId "com.mapbox.mapboxsdk.testapp"
|
|
minSdkVersion androidVersions.minSdkVersion
|
|
targetSdkVersion androidVersions.targetSdkVersion
|
|
versionCode 12
|
|
versionName "6.0.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude 'META-INF/LICENSE.txt'
|
|
exclude 'META-INF/NOTICE.txt'
|
|
exclude 'LICENSE.txt'
|
|
}
|
|
|
|
lintOptions {
|
|
baseline file("lint-baseline-local.xml")
|
|
checkAllWarnings true
|
|
warningsAsErrors true
|
|
disable 'MissingTranslation', 'GoogleAppIndexingWarning', 'UnpackedNativeCode', 'IconDipSize', 'TypographyQuotes'
|
|
abortOnError false
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
testCoverageEnabled = true
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
dexOptions {
|
|
maxProcessCount 8
|
|
javaMaxHeapSize "2g"
|
|
preDexLibraries true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(project(':MapboxGLAndroidSDK'))
|
|
implementation dependenciesList.mapboxJavaServices
|
|
|
|
implementation dependenciesList.mapboxJavaTurf
|
|
|
|
implementation dependenciesList.supportAppcompatV7
|
|
implementation dependenciesList.supportRecyclerView
|
|
implementation dependenciesList.supportDesign
|
|
|
|
// implementation dependenciesList.lost
|
|
implementation dependenciesList.gmsLocation
|
|
implementation dependenciesList.timber
|
|
debugImplementation dependenciesList.leakCanaryDebug
|
|
releaseImplementation dependenciesList.leakCanaryRelease
|
|
|
|
androidTestImplementation dependenciesList.supportAnnotations
|
|
androidTestImplementation dependenciesList.testRunner
|
|
androidTestImplementation dependenciesList.testRules
|
|
androidTestImplementation dependenciesList.testEspressoCore
|
|
androidTestImplementation dependenciesList.testEspressoIntents
|
|
}
|
|
|
|
apply from: "${rootDir}/gradle/gradle-make.gradle"
|
|
apply from: "${rootDir}/gradle/gradle-config.gradle"
|
|
apply from: "${rootDir}/gradle/gradle-checkstyle.gradle"
|
|
apply from: "${rootDir}/gradle/gradle-lint.gradle"
|
|
|
|
|