123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- 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']
- }
- }
|