Skip to content

Commit

Permalink
Merge pull request #21 from MiPushFramework/canary
Browse files Browse the repository at this point in the history
fix(ci): remove Google Play publishing
  • Loading branch information
Trumeet authored Aug 9, 2020
2 parents e28202c + 55dd1c1 commit 56ad17c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ cache:
- "$HOME/.gradle/wrapper/"
script:
- "./gradlew exportVersion --daemon"
# The plugin will build it and publish it, we currently don't have
# a way to upload an existing apk.
# See https://github.com/Triple-T/gradle-play-publisher/issues/360
- chmod a+x ./tools/ci_build.sh
- ./tools/ci_build.sh
- ./gradlew :app:assembleRelease --daemon --parallel
before_install:
- yes | sdkmanager "platforms;android-28"
- chmod a+x gradlew
Expand Down
11 changes: 0 additions & 11 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath 'com.google.android.gms:oss-licenses-plugin:0.9.4'
classpath "com.github.triplet.gradle:play-publisher:2.0.0-rc2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand All @@ -17,16 +16,6 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.android.gms.oss-licenses-plugin'

if (file("play-store-api.json").exists()) {
apply plugin: 'com.github.triplet.play'
play {
serviceAccountCredentials = file("play-store-api.json")
track = "beta"
userFraction = 1.0
resolutionStrategy = "ignore"
}
}

def xmpushProperties = new Properties()
def conf = project.file("xmpush.properties")
if (conf.exists()) xmpushProperties.load(conf.newDataInputStream())
Expand Down

0 comments on commit 56ad17c

Please sign in to comment.