Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Main build script for WebView App
- //
- // Usage: gradlew assembleDebug Build debug APK
- // gradlew assembleRelease Build release APK
- final VERSION_MAJOR = 2 // max two digits
- final VERSION_MINOR = 3 // max two digits
- final VERSION_PATCH = 1 // max two digits
- final VERSION_BUILD = 0 // max three digits
- apply plugin: "com.android.application"
- apply from: "../utils.gradle"
- android {
- compileSdkVersion 28
- buildToolsVersion '28.0.3'
- defaultConfig {
- applicationId "social.test.booster"
- minSdkVersion 16
- targetSdkVersion 28
- versionCode getVersionCode(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, VERSION_BUILD)
- versionName getVersionName(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
- // app id and Google project number for OneSignal push notifications,
- // leave these constants empty if you do not want to use push notifications,
- // see https://documentation.onesignal.com for more info
- manifestPlaceholders = [onesignal_app_id: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
- onesignal_google_project_number: "XXXXXXXXXXXX"]
- }
- signingConfigs {
- release {
- // passwords and alias are obtained via askForPasswords task
- storeFile file("../${project.property('keystore.file')}")
- storePassword ""
- keyAlias ""
- keyPassword ""
- }
- }
- buildTypes {
- debug {
- buildConfigField "boolean", "LOGS", "true"
- versionNameSuffix "-debug"
- }
- release {
- buildConfigField "boolean", "LOGS", "false"
- signingConfig signingConfigs.release
- zipAlignEnabled true
- minifyEnabled false
- shrinkResources false
- proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_7
- targetCompatibility JavaVersion.VERSION_1_7
- }
- applicationVariants.all {
- variant ->
- if(variant.buildType.name.equals("release")) {
- renameArtifact("webviewapp", variant)
- }
- }
- }
- repositories {
- flatDir {
- dirs 'libs'
- }
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar"])
- implementation (name:"config", ext:"aar")
- implementation "com.android.support:support-compat:28.0.0"
- implementation "com.android.support:support-core-utils:28.0.0"
- implementation "com.android.support:support-core-ui:28.0.0"
- implementation "com.android.support:support-fragment:28.0.0"
- implementation "com.android.support:appcompat-v7:28.0.0"
- implementation "com.android.support:design:28.0.0"
- implementation "com.google.android.gms:play-services-base:11.4.2"
- implementation "com.google.android.gms:play-services-analytics:11.4.2"
- implementation "com.google.android.gms:play-services-ads:11.4.2"
- implementation "com.google.android.gms:play-services-gcm:11.4.2"
- implementation "com.google.android.gms:play-services-location:11.4.2"
- implementation "com.onesignal:OneSignal:3.6.4@aar"
- implementation "org.alfonz:alfonz-utility:0.8.0"
- implementation "org.alfonz:alfonz-view:0.8.0"
- implementation 'com.squareup.picasso:picasso:2.5.2' //for Inmobi
- implementation name: 'adcolony-sdk-3.2.1', ext: 'aar'
- implementation name: 'mmedia-6.4.0', ext: 'aar'
- implementation name: 'mobvista_alphab', ext: 'aar'
- implementation name: 'mobvista_appwall', ext: 'aar'
- implementation name: 'mobvista_appwallext', ext: 'aar'
- implementation name: 'mobvista_common', ext: 'aar'
- implementation name: 'mobvista_interstitial', ext: 'aar'
- implementation name: 'mobvista_mvdownloads', ext: 'aar'
- implementation name: 'mobvista_mvjscommon', ext: 'aar'
- implementation name: 'mobvista_mvnative', ext: 'aar'
- implementation name: 'mobvista_nativeex', ext: 'aar'
- implementation name: 'mobvista_offerwall', ext: 'aar'
- implementation name: 'mobvista_playercommon', ext: 'aar'
- implementation name: 'mobvista_reward', ext: 'aar'
- implementation name: 'mobvista_videocommon', ext: 'aar'
- implementation name: 'mobvista_videofeeds', ext: 'aar'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement