gradle: integrate Play Publishing

wire-gradle
Georg Lukas 2019-12-30 23:04:37 +01:00
rodzic a56cfff489
commit ab75babb3a
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -14,6 +14,9 @@ buildscript {
// grgit for version tags // grgit for version tags
classpath 'org.ajoberstar:grgit:1.1.0' classpath 'org.ajoberstar:grgit:1.1.0'
// https://github.com/Triple-T/gradle-play-publisher#usage
classpath 'com.github.triplet.gradle:play-publisher:2.4.1'
// scala build // scala build
classpath 'com.github.AllBus:gradle-android-scala-plugin:3.5.1' classpath 'com.github.AllBus:gradle-android-scala-plugin:3.5.1'
} }
@ -34,6 +37,7 @@ allprojects {
/////////////// APRSdroid specific build rules /////////////// /////////////// APRSdroid specific build rules ///////////////
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'jp.leafytree.android-scala' apply plugin: 'jp.leafytree.android-scala'
apply plugin: 'com.github.triplet.play'
ext { ext {
build_date = "${new Date().format('yyyy-MM-dd')}" build_date = "${new Date().format('yyyy-MM-dd')}"
@ -104,6 +108,11 @@ android {
} }
} }
play {
serviceAccountCredentials = file('play-publish-credentials.json')
track = 'beta'
}
dependencies { dependencies {
implementation "org.scala-lang:scala-library:2.11.12" implementation "org.scala-lang:scala-library:2.11.12"
//compile 'com.google.android.gms:play-services-maps:6.5.87' //compile 'com.google.android.gms:play-services-maps:6.5.87'