Merge instance-build.gradle into app's build.gradle

This commit is contained in:
Goooler 2023-01-19 22:00:52 +08:00
parent e9bb518ca7
commit 2e2ca51087
2 changed files with 11 additions and 21 deletions

View File

@ -5,12 +5,21 @@ plugins {
alias(libs.plugins.kotlin.parcelize)
}
apply from: "../instance-build.gradle"
final def gitSha = providers.exec {
commandLine('git', 'rev-parse', '--short=7', 'HEAD')
}.standardOutput.asText.get().trim()
// The app name
final def APP_NAME = "Tusky"
// The application id. Must be unique, e.g. based on your domain
final def APP_ID = "com.keylesspalace.tusky"
// url of a custom app logo. Recommended size at least 600x600. Keep empty to use the Tusky elephant friend.
final def CUSTOM_LOGO_URL = ""
// e.g. mastodon.social. Keep empty to not suggest any instance on the signup screen
final def CUSTOM_INSTANCE = ""
// link to your support account. Will be linked on the about page when not empty.
final def SUPPORT_ACCOUNT_URL = "https://mastodon.social/@Tusky"
android {
compileSdk 33
namespace "com.keylesspalace.tusky"

View File

@ -1,19 +0,0 @@
/**
Edit this file to create a Tusky build that is customized for your Fediverse instance.
Note: Publishing a custom build on Google Play may violate the Google Play developer policy (Repetitive Content)
*/
// The app name
ext.APP_NAME = "Tusky"
// The application id. Must be unique, e.g. based on your domain
ext.APP_ID = "com.keylesspalace.tusky"
// url of a custom app logo. Recommended size at least 600x600. Keep empty to use the Tusky elephant friend.
ext.CUSTOM_LOGO_URL = ""
// e.g. mastodon.social. Keep empty to not suggest any instance on the signup screen
ext.CUSTOM_INSTANCE = ""
// link to your support account. Will be linked on the about page when not empty.
ext.SUPPORT_ACCOUNT_URL = "https://mastodon.social/@Tusky"