summaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
blob: d6b6b77960859bd5ec3b2e104351379d00580535 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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"
        }
        register("versioning") {
            id = "versioning-plugin"
            implementationClass = "VersioningPlugin"
        }
    }
}

dependencies {
    implementation(build.getValue("kotlinGradlePlugin"))
    implementation(build.getValue("androidGradlePlugin"))
    implementation(build.getValue("binaryCompatibilityValidator"))
    implementation(build.getValue("downloadTaskPlugin"))
    implementation(build.getValue("jsemver"))
}