Skip to content

Commit

Permalink
Add gradle-play-publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom committed Jun 30, 2018
1 parent df664f0 commit 1613682
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -9,3 +9,4 @@
/build
/captures
.externalNativeBuild
release.json
10 changes: 8 additions & 2 deletions app/build.gradle
@@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'com.github.triplet.play'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

Expand All @@ -8,8 +9,8 @@ android {
applicationId "com.github.takahirom.hello_world"
minSdkVersion 15
targetSdkVersion 27
versionCode 1
versionName "1.0"
versionCode 2
versionName "1.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
signingConfigs {
Expand All @@ -30,6 +31,11 @@ android {
}
}

play {
track = 'beta'
serviceAccountCredentials = rootProject.file('release.json')
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Expand Up @@ -10,6 +10,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0-alpha18'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.triplet.gradle:play-publisher:2.0.0-SNAPSHOT'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit 1613682

Please sign in to comment.