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:
parent
f458d146af
commit
f538bf6a33
5 changed files with 12 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -42,4 +42,5 @@ captures/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
# Private Keys
|
# Private Keys
|
||||||
keystore.properties
|
keystore.properties
|
||||||
|
play-developer-key.p12
|
||||||
|
|
@ -13,11 +13,18 @@ buildscript {
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
apply plugin: 'io.fabric'
|
apply plugin: 'io.fabric'
|
||||||
apply plugin: 'com.jakewharton.hugo'
|
apply plugin: 'com.jakewharton.hugo'
|
||||||
|
apply plugin: 'com.github.triplet.play'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://maven.fabric.io/public' }
|
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 {
|
android {
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
debug {
|
debug {
|
||||||
|
|
|
||||||
|
|
@ -360,7 +360,7 @@ public class AlbumDetailActivity extends AbsSlidingMusicPanelActivity implements
|
||||||
startActivityForResult(intent, TAG_EDITOR_REQUEST);
|
startActivityForResult(intent, TAG_EDITOR_REQUEST);
|
||||||
return true;
|
return true;
|
||||||
case R.id.action_go_to_artist:
|
case R.id.action_go_to_artist:
|
||||||
Pair[] artistPairs = addPlayPauseFabToSharedViews(null);
|
Pair[] artistPairs = addPlayPauseFabToSharedViews();
|
||||||
NavigationUtil.goToArtist(this, album.artistId, artistPairs);
|
NavigationUtil.goToArtist(this, album.artistId, artistPairs);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
app/src/main/play/en-US/whatsnew
Normal file
1
app/src/main/play/en-US/whatsnew
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Changelog within the app.
|
||||||
|
|
@ -4,6 +4,7 @@ buildscript {
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:1.3.0'
|
classpath 'com.android.tools.build:gradle:1.3.0'
|
||||||
|
classpath 'com.github.triplet.gradle:play-publisher:1.1.2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue