mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-10 06:44:17 +00:00
enable automated play-upload to alpha for touch
This commit is contained in:
parent
14bf204df1
commit
1ef480deea
5 changed files with 52 additions and 14 deletions
|
@ -236,7 +236,12 @@ jobs:
|
|||
command: .circleci/setup_env.sh >> $BASH_ENV
|
||||
- run:
|
||||
name: Touch Playstore Upload
|
||||
command: echo "TODO"
|
||||
command: |
|
||||
echo "$ENCODED_PLAY_CREDENTIALS" | base64 --decode > ./chaosflix-d1d09f33cbb2.json
|
||||
./gradlew $KEY_CONFIG \
|
||||
-PversionCode=$VERSION_CODE_TOUCH \
|
||||
-PversionName=${VERSION_NAME} \
|
||||
touch:publishApk
|
||||
|
||||
|
||||
workflows:
|
||||
|
@ -268,4 +273,4 @@ workflows:
|
|||
branches:
|
||||
only:
|
||||
- master
|
||||
- develop
|
||||
- feature/playUpload
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -62,4 +62,5 @@ freeline_project_description.json
|
|||
|
||||
common/release
|
||||
touch/release
|
||||
leanback/release
|
||||
leanback/release
|
||||
chaosflix-d1d09f33cbb2.json
|
||||
|
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME
|
|||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
|
||||
distributionSha256Sum=14cd15fc8cc8705bd69dcfa3c8fefb27eb7027f5de4b47a8b279218f76895a91
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
|
||||
distributionSha256Sum=10065868c78f1207afb3a92176f99a37d753a513dff453abb6b5cceda4058cda
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-kapt'
|
||||
id 'kotlin-android-extensions'
|
||||
id 'com.github.triplet.play' version '2.6.2'
|
||||
}
|
||||
|
||||
String appName = "Chaosflix"
|
||||
String versionString = new File("versionfile").text.trim()
|
||||
|
@ -101,6 +104,11 @@ android {
|
|||
lintOptions.abortOnError = false
|
||||
dataBinding.enabled = true
|
||||
buildToolsVersion rootProject.ext.buildToolsVersion
|
||||
playConfigs {
|
||||
prodNoFree {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
@ -127,3 +135,10 @@ dependencies {
|
|||
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3'
|
||||
androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.6.0'
|
||||
}
|
||||
|
||||
play {
|
||||
serviceAccountCredentials = file("../chaosflix-d1d09f33cbb2.json")
|
||||
track = "Alpha"
|
||||
enabled = false
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-kapt'
|
||||
id 'kotlin-android-extensions'
|
||||
id 'com.github.triplet.play' version '2.6.2'
|
||||
}
|
||||
|
||||
String appName = "Chaosflix"
|
||||
String versionString = new File("versionfile").text.trim()
|
||||
|
@ -111,6 +114,12 @@ android {
|
|||
lintOptions.abortOnError false
|
||||
dataBinding.enabled = true
|
||||
testOptions.unitTests.includeAndroidResources = true
|
||||
|
||||
playConfigs {
|
||||
prodNoFreeRelease {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
@ -154,4 +163,12 @@ dependencies {
|
|||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0', {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
play {
|
||||
serviceAccountCredentials = file("../chaosflix-d1d09f33cbb2.json")
|
||||
track = "alpha"
|
||||
releaseStatus = "draft"
|
||||
enabled = false
|
||||
artifactDir = file("build/outputs/apk/prodNoFree/release/touch-prod-noFree-release.apk")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue