diff --git a/build.gradle b/build.gradle index 15b47e3..0e2c570 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,9 @@ buildscript { // grgit for version tags 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 classpath 'com.github.AllBus:gradle-android-scala-plugin:3.5.1' } @@ -34,6 +37,7 @@ allprojects { /////////////// APRSdroid specific build rules /////////////// apply plugin: 'com.android.application' apply plugin: 'jp.leafytree.android-scala' +apply plugin: 'com.github.triplet.play' ext { build_date = "${new Date().format('yyyy-MM-dd')}" @@ -104,6 +108,11 @@ android { } } +play { + serviceAccountCredentials = file('play-publish-credentials.json') + track = 'beta' +} + dependencies { implementation "org.scala-lang:scala-library:2.11.12" //compile 'com.google.android.gms:play-services-maps:6.5.87'