From 75df425e84e11343e82ee89ff7480279365a4f99 Mon Sep 17 00:00:00 2001 From: Haleydu <924323178@qq.com> Date: Tue, 18 Aug 2020 16:16:17 +0800 Subject: [PATCH] fix build.gradle --- app/build.gradle | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 36511009..cbc2e464 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,26 +31,26 @@ def banners_search_id = "ca-app-pub-3940256099942544/6300978111" def insert_home_id = "ca-app-pub-3940256099942544/1033173712" if(System.getenv("TRAVIS_BUILD_NUMBER") != null){ - app_id = "ca-app-pub-7627119713262112~4561316171" - favorite_unit_id = "ca-app-pub-7627119713262112/6345773775" - history_unit_id = "ca-app-pub-7627119713262112/8397114244" - download_unit_id = "ca-app-pub-7627119713262112/2661555923" - local_unit_id = "ca-app-pub-7627119713262112/1101062243" - search_unit_id = "ca-app-pub-7627119713262112/6391033471" - banners_id = "ca-app-pub-7627119713262112/8423048872" - banners_chapter_id = "ca-app-pub-7627119713262112/2788374970" - banners_search_id = "ca-app-pub-7627119713262112/1081375788" - insert_home_id = "ca-app-pub-7627119713262112/3346137541" -// app_id = System.getenv("ADMOB_APP_ID") -// favorite_unit_id = System.getenv("ADMOB_NATIVE_FAVORITE_UNIT_ID") -// history_unit_id = System.getenv("ADMOB_NATIVE_HISTORY_UNIT_ID") -// download_unit_id = System.getenv("ADMOB_NATIVE_DOWNLOAD_UNIT_ID") -// local_unit_id = System.getenv("ADMOB_NATIVE_LOCAL_UNIT_ID") -// search_unit_id = System.getenv("ADMOB_NATIVE_SEARCH_UNIT_ID") -// banners_id = System.getenv("ADMOB_BANNER_UNIT_ID") -// banners_chapter_id = System.getenv("ADMOB_BANNER_CHAPTER_UNIT_ID") -// banners_search_id = System.getenv("ADMOB_BANNER_SEARCH_UNIT_ID") -// insert_home_id = System.getenv("ADMOB_INSERT_HOME_ID") +// app_id = "ca-app-pub-7627119713262112~4561316171" +// favorite_unit_id = "ca-app-pub-7627119713262112/6345773775" +// history_unit_id = "ca-app-pub-7627119713262112/8397114244" +// download_unit_id = "ca-app-pub-7627119713262112/2661555923" +// local_unit_id = "ca-app-pub-7627119713262112/1101062243" +// search_unit_id = "ca-app-pub-7627119713262112/6391033471" +// banners_id = "ca-app-pub-7627119713262112/8423048872" +// banners_chapter_id = "ca-app-pub-7627119713262112/2788374970" +// banners_search_id = "ca-app-pub-7627119713262112/1081375788" +// insert_home_id = "ca-app-pub-7627119713262112/3346137541" + app_id = System.getenv("ADMOB_APP_ID") + favorite_unit_id = System.getenv("ADMOB_NATIVE_FAVORITE_UNIT_ID") + history_unit_id = System.getenv("ADMOB_NATIVE_HISTORY_UNIT_ID") + download_unit_id = System.getenv("ADMOB_NATIVE_DOWNLOAD_UNIT_ID") + local_unit_id = System.getenv("ADMOB_NATIVE_LOCAL_UNIT_ID") + search_unit_id = System.getenv("ADMOB_NATIVE_SEARCH_UNIT_ID") + banners_id = System.getenv("ADMOB_BANNER_UNIT_ID") + banners_chapter_id = System.getenv("ADMOB_BANNER_CHAPTER_UNIT_ID") + banners_search_id = System.getenv("ADMOB_BANNER_SEARCH_UNIT_ID") + insert_home_id = System.getenv("ADMOB_INSERT_HOME_ID") } android {