-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
55 lines (49 loc) · 1.7 KB
/
build.gradle.kts
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import uk.gov.pipelines.config.ApkConfig
import uk.gov.pipelines.emulator.EmulatorConfig
import uk.gov.pipelines.emulator.SystemImageSource
buildscript {
val buildLogicDir: String by rootProject.extra("mobile-android-pipelines/buildLogic")
// Github packages publishing configuration
val githubRepositoryName: String by rootProject.extra("mobile-android-networking")
val mavenGroupId: String by rootProject.extra("uk.gov.android")
// Sonar configuration
val sonarProperties: Map<String, String> by rootProject.extra(
mapOf(
"sonar.projectKey" to "mobile-android-networking",
"sonar.projectName" to "mobile-android-networking"
)
)
repositories {
google()
gradlePluginPortal()
mavenCentral()
}
// https://issuetracker.google.com/issues/380600747
dependencies {
classpath("org.bouncycastle:bcutil-jdk18on:1.79")
}
}
val apkConfig by rootProject.extra(
object: ApkConfig {
override val applicationId: String = "uk.gov.android.network"
override val debugVersion: String = "DEBUG_VERSION"
override val sdkVersions = object: ApkConfig.SdkVersions {
override val minimum = 29
override val target = 33
override val compile = 34
}
}
)
val emulatorConfig by rootProject.extra(
EmulatorConfig(
systemImageSources = setOf(SystemImageSource.GOOGLE_ATD),
androidApiLevels = setOf(33),
deviceFilters = setOf("Pixel XL"),
)
)
plugins {
id("uk.gov.pipelines.vale-config")
id("uk.gov.pipelines.sonarqube-root-config")
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.android.library) apply false
}