Build and push APKs directly to Google Play via gradle task. This won't be available for people without the matching .p12 key.

This commit is contained in:
Karim Abou Zeid 2015-08-29 13:13:43 +02:00
commit f538bf6a33
5 changed files with 12 additions and 2 deletions

3
.gitignore vendored
View file

@ -42,4 +42,5 @@ captures/
.DS_Store
# Private Keys
keystore.properties
keystore.properties
play-developer-key.p12

View file

@ -13,11 +13,18 @@ buildscript {
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'com.jakewharton.hugo'
apply plugin: 'com.github.triplet.play'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
// For pushing APKs directly to Google Play. Won't work without the .p12 key.
play {
serviceAccountEmail = '992499570703-57nnnb8m7ha6sri9tcov8nhgkg3fc9i9@developer.gserviceaccount.com'
pk12File = file('../play-developer-key.p12')
}
android {
signingConfigs {
debug {

View file

@ -360,7 +360,7 @@ public class AlbumDetailActivity extends AbsSlidingMusicPanelActivity implements
startActivityForResult(intent, TAG_EDITOR_REQUEST);
return true;
case R.id.action_go_to_artist:
Pair[] artistPairs = addPlayPauseFabToSharedViews(null);
Pair[] artistPairs = addPlayPauseFabToSharedViews();
NavigationUtil.goToArtist(this, album.artistId, artistPairs);
return true;
}

View file

@ -0,0 +1 @@
Changelog within the app.

View file

@ -4,6 +4,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.github.triplet.gradle:play-publisher:1.1.2'
}
}