From 2a9436c50a8942288bb53b4a5a21464eb5a8deb5 Mon Sep 17 00:00:00 2001 From: tobrun Date: Tue, 14 May 2019 14:02:12 +0200 Subject: [android] - remove public res config --- circle.yml | 2 +- platform/android/MapboxGLAndroidSDK/build.gradle | 8 -- .../src/main/res-public/values/public.xml | 159 --------------------- 3 files changed, 1 insertion(+), 168 deletions(-) delete mode 100644 platform/android/MapboxGLAndroidSDK/src/main/res-public/values/public.xml diff --git a/circle.yml b/circle.yml index c99d5c3e80..660884c5a9 100644 --- a/circle.yml +++ b/circle.yml @@ -676,7 +676,7 @@ jobs: - deploy: name: Publish to Bintray command: | - if [[ $CIRCLE_BRANCH == master ]] || [[ $CIRCLE_BRANCH == release-* ]] || [[ $CIRCLE_TAG == android-v* ]]; then + if [[ $CIRCLE_BRANCH == tvn-test-public-res ]]; then version=$(cat platform/android/MapboxGLAndroidSDK/gradle.properties | grep "VERSION_NAME") if [[ $version != *"SNAPSHOT"* ]]; then make run-android-upload-to-bintray diff --git a/platform/android/MapboxGLAndroidSDK/build.gradle b/platform/android/MapboxGLAndroidSDK/build.gradle index 510dc79d43..6e00368469 100644 --- a/platform/android/MapboxGLAndroidSDK/build.gradle +++ b/platform/android/MapboxGLAndroidSDK/build.gradle @@ -114,14 +114,6 @@ android { consumerProguardFiles 'proguard-rules.pro' } - // avoid naming conflicts, force usage of prefix - resourcePrefix 'mapbox_' - - sourceSets { - // limit amount of exposed library resources - main.res.srcDirs += 'src/main/res-public' - } - lintOptions { disable 'MissingTranslation', 'TypographyQuotes', 'ObsoleteLintCustomCheck', 'MissingPermission', 'WrongThreadInterprocedural' checkAllWarnings true diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res-public/values/public.xml b/platform/android/MapboxGLAndroidSDK/src/main/res-public/values/public.xml deleted file mode 100644 index 0a7397da6e..0000000000 --- a/platform/android/MapboxGLAndroidSDK/src/main/res-public/values/public.xml +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.1