Skip to content

Commit

Permalink
fix build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleydu committed Aug 12, 2020
1 parent 11720b0 commit 76ff12a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ def download_unit_id = "ca-app-pub-7627119713262112/2661555923"
def local_unit_id = "ca-app-pub-7627119713262112/1101062243"
def banners_id = "ca-app-pub-7627119713262112/8423048872"

if(System.getenv("TRAVIS_BUILD_NUMBER") != null){
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")
banners_id = System.getenv("ADMOB_BANNER_UNIT_ID")
}
//if(System.getenv("TRAVIS_BUILD_NUMBER") != null){
// 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")
// banners_id = System.getenv("ADMOB_BANNER_UNIT_ID")
//}
android {
compileSdkVersion 29
buildToolsVersion '29.0.3'
Expand Down

0 comments on commit 76ff12a

Please sign in to comment.