在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):bluesliverx/gradle-android-publisher开源软件地址(OpenSource Url):https://github.com/bluesliverx/gradle-android-publisher开源编程语言(OpenSource Language):Java 91.6%开源软件介绍(OpenSource Introduction):A simple gradle plugin that publishes android builds to any track in the Google Play store. Flavors and variants are supported as well. To use, add the following to your buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.savillians.gradle:android-publisher:0.5+'
// May need to add guava if you have problems with com.google.common.hash.HashCode.fromString(Ljava/lang/String;)Lcom/google/common/hash/HashCode;
//classpath 'com.google.guava:guava:18.0'
}
}
apply plugin: com.savillians.gradle.androidpublisher.AndroidPublisherPlugin
android {
...
}
androidPublisher {
applicationName = "Company-Name-Product-Name/1.0"
packageName = "<package name>"
serviceAccountEmail = "<service account email>"
serviceAccountKeyFile = file('<p12 keyfile - NOT the json file>')
track = "alpha" // default, don't need to specify
variantName = "release" // default, don't need to specify
} Make sure the service account you create has "release manager" permissions, download the p12 key file and put it in the project's directory. Then run this command:
That will send it to Google Play using the credentials you specified. FlavorsThe
Changelog0.5
0.3
0.2
0.1
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论