apply plugin: 'com.android.application' buildscript { repositories { jcenter() mavenCentral() } } android { compileSdkVersion gradle.compileSdk buildToolsVersion gradle.buildTools defaultConfig { applicationId "com.sangcomz.fishbundemo" minSdkVersion gradle.minSdk targetSdkVersion gradle.targetSdk versionCode gradle.versionCode versionName gradle.versionName multiDexEnabled true } Properties signProp = new Properties() if (project.rootProject.file('playstore/sign.properties').isFile()) { signProp.load(project.rootProject.file('playstore/sign.properties').newDataInputStream()) def password = signProp.get("password", "") signingConfigs { release { keyAlias signProp.get("alias", "") keyPassword password storeFile rootProject.file("playstore/key.jks") storePassword password } } } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' if (project.rootProject.file('playstore/sign.properties').isFile()) signingConfig signingConfigs.release } debug { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation project(':FishBun') implementation "com.android.support:appcompat-v7:$rootProject.support_version" implementation "com.android.support:recyclerview-v7:$rootProject.support_version" debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2' implementation "com.android.support:support-v4:$rootProject.support_version" implementation "com.squareup.picasso:picasso:$rootProject.picasso_version" } buildscript { repositories { jcenter() } dependencies { classpath 'com.github.triplet.gradle:play-publisher:1.2.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } apply plugin: 'com.github.triplet.play' play { track = 'production' // or 'rollout' or 'beta' or 'alpha' // userFraction = 0.2 // only necessary for 'rollout', in this case default is 0.1 (10% of the target) jsonFile = rootProject.file('playstore_kye.json') } task printProps { doLast { println System.properties['system'] } }