forked from Triple-T/gradle-play-publisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
86 lines (76 loc) · 3.33 KB
/
settings.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
plugins {
`gradle-enterprise`
}
include(
":common:utils", ":common:validation",
":play:plugin", ":play:android-publisher"
)
dependencyResolutionManagement {
repositories {
google().content {
includeGroup("com.android")
includeGroupByRegex("com\\.android\\..*")
includeGroupByRegex("com\\.google\\..*")
includeGroupByRegex("androidx\\..*")
}
mavenCentral()
}
enableFeaturePreview("VERSION_CATALOGS")
versionCatalogs {
create("libs") {
version("depUpdates", "0.39.0")
version("gradlePublish", "0.17.0")
version("nexusPublish", "1.1.0")
alias("depUpdates")
.toPluginId("com.github.ben-manes.versions")
.versionRef("depUpdates")
alias("gradlePublish")
.toPluginId("com.gradle.plugin-publish")
.versionRef("gradlePublish")
alias("nexusPublish")
.toPluginId("io.github.gradle-nexus.publish-plugin")
.versionRef("nexusPublish")
version("agp", "7.0.0")
version("agp-tools", "30.0.0")
version("android-publisher", "v3-rev20211021-1.32.1")
version("api-client", "1.32.2")
version("http-client", "1.40.1")
version("http-auth", "1.2.2")
version("guava", "31.0.1-jre")
alias("agp").to("com.android.tools.build", "gradle").versionRef("agp")
alias("agp-test").to("com.android.tools.build", "builder-test-api").versionRef("agp")
alias("agp-common").to("com.android.tools", "common").versionRef("agp-tools")
alias("agp-ddms").to("com.android.tools.ddms", "ddmlib").versionRef("agp-tools")
alias("androidpublisher")
.to("com.google.apis", "google-api-services-androidpublisher")
.versionRef("android-publisher")
alias("client-api")
.to("com.google.api-client", "google-api-client")
.versionRef("api-client")
alias("client-http")
.to("com.google.http-client", "google-http-client-apache-v2")
.versionRef("http-client")
alias("client-auth")
.to("com.google.auth", "google-auth-library-oauth2-http")
.versionRef("http-auth")
alias("client-gson")
.to("com.google.http-client", "google-http-client-gson")
.versionRef("http-client")
alias("guava").to("com.google.guava", "guava").versionRef("guava")
}
create("testLibs") {
version("junit", "5.8.1")
version("truth", "1.1.3")
version("mockito", "4.0.0")
alias("junit").to("org.junit.jupiter", "junit-jupiter-api").versionRef("junit")
alias("junit-engine")
.to("org.junit.jupiter", "junit-jupiter-engine")
.versionRef("junit")
alias("junit-params")
.to("org.junit.jupiter", "junit-jupiter-params")
.versionRef("junit")
alias("truth").to("com.google.truth", "truth").versionRef("truth")
alias("mockito").to("org.mockito", "mockito-core").versionRef("mockito")
}
}
}