1a774eae23
* build: add a Gradle plugin for Crowdin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build/crowdin: add skipCleanup extension property Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build/crowdin: also handle nonFree source set Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build/crowdin: fixup directory names for nonFree variant Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * app: sync translations from Crowdin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: add Crowdin sync workflow Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
36 lines
787 B
Text
36 lines
787 B
Text
apply(from = "buildDependencies.gradle")
|
|
val build: Map<Any, Any> by extra
|
|
|
|
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
gradlePluginPortal()
|
|
jcenter()
|
|
}
|
|
|
|
kotlinDslPluginOptions {
|
|
experimentalWarning.set(false)
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
register("aps") {
|
|
id = "aps-plugin"
|
|
implementationClass = "PasswordStorePlugin"
|
|
}
|
|
register("crowdin") {
|
|
id = "crowdin-plugin"
|
|
implementationClass = "CrowdinDownloadPlugin"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(build.getValue("kotlinGradlePlugin"))
|
|
implementation(build.getValue("androidGradlePlugin"))
|
|
implementation(build.getValue("binaryCompatibilityValidator"))
|
|
implementation(build.getValue("downloadTaskPlugin"))
|
|
}
|