Skip to content

Commit 5ad58fd

Browse files
committed
Bug 1868259 - Refactor buildscript {} to be at the top of build.gradle r=tthibaud,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D195517 UltraBlame original commit: d1fa343eb9bc8553f0c8352be15f2e2f07243ffb
1 parent 688d62f commit 5ad58fd

File tree

1 file changed

+154
-154
lines changed

1 file changed

+154
-154
lines changed

build.gradle

Lines changed: 154 additions & 154 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,160 @@ org
1616
tomlj
1717
.
1818
TomlTable
19+
buildscript
20+
{
21+
repositories
22+
{
23+
gradle
24+
.
25+
mozconfig
26+
.
27+
substs
28+
.
29+
GRADLE_MAVEN_REPOSITORIES
30+
.
31+
each
32+
{
33+
repository
34+
-
35+
>
36+
maven
37+
{
38+
url
39+
repository
40+
if
41+
(
42+
gradle
43+
.
44+
mozconfig
45+
.
46+
substs
47+
.
48+
ALLOW_INSECURE_GRADLE_REPOSITORIES
49+
)
50+
{
51+
allowInsecureProtocol
52+
=
53+
true
54+
}
55+
}
56+
}
57+
}
58+
ext
59+
.
60+
kotlin_version
61+
=
62+
'
63+
1
64+
.
65+
8
66+
.
67+
21
68+
'
69+
dependencies
70+
{
71+
classpath
72+
'
73+
org
74+
.
75+
mozilla
76+
.
77+
apilint
78+
:
79+
apilint
80+
:
81+
0
82+
.
83+
5
84+
.
85+
2
86+
'
87+
classpath
88+
'
89+
com
90+
.
91+
android
92+
.
93+
tools
94+
.
95+
build
96+
:
97+
gradle
98+
:
99+
7
100+
.
101+
4
102+
.
103+
2
104+
'
105+
classpath
106+
'
107+
org
108+
.
109+
apache
110+
.
111+
commons
112+
:
113+
commons
114+
-
115+
exec
116+
:
117+
1
118+
.
119+
3
120+
'
121+
classpath
122+
'
123+
com
124+
.
125+
diffplug
126+
.
127+
spotless
128+
:
129+
spotless
130+
-
131+
plugin
132+
-
133+
gradle
134+
:
135+
6
136+
.
137+
18
138+
.
139+
0
140+
'
141+
classpath
142+
'
143+
org
144+
.
145+
tomlj
146+
:
147+
tomlj
148+
:
149+
1
150+
.
151+
1
152+
.
153+
0
154+
'
155+
classpath
156+
"
157+
org
158+
.
159+
jetbrains
160+
.
161+
kotlin
162+
:
163+
kotlin
164+
-
165+
gradle
166+
-
167+
plugin
168+
:
169+
kotlin_version
170+
"
171+
}
172+
}
19173
def
20174
tryInt
21175
=
@@ -799,160 +953,6 @@ gradle
799953
/
800954
build
801955
"
802-
buildscript
803-
{
804-
repositories
805-
{
806-
gradle
807-
.
808-
mozconfig
809-
.
810-
substs
811-
.
812-
GRADLE_MAVEN_REPOSITORIES
813-
.
814-
each
815-
{
816-
repository
817-
-
818-
>
819-
maven
820-
{
821-
url
822-
repository
823-
if
824-
(
825-
gradle
826-
.
827-
mozconfig
828-
.
829-
substs
830-
.
831-
ALLOW_INSECURE_GRADLE_REPOSITORIES
832-
)
833-
{
834-
allowInsecureProtocol
835-
=
836-
true
837-
}
838-
}
839-
}
840-
}
841-
ext
842-
.
843-
kotlin_version
844-
=
845-
'
846-
1
847-
.
848-
8
849-
.
850-
21
851-
'
852-
dependencies
853-
{
854-
classpath
855-
'
856-
org
857-
.
858-
mozilla
859-
.
860-
apilint
861-
:
862-
apilint
863-
:
864-
0
865-
.
866-
5
867-
.
868-
2
869-
'
870-
classpath
871-
'
872-
com
873-
.
874-
android
875-
.
876-
tools
877-
.
878-
build
879-
:
880-
gradle
881-
:
882-
7
883-
.
884-
4
885-
.
886-
2
887-
'
888-
classpath
889-
'
890-
org
891-
.
892-
apache
893-
.
894-
commons
895-
:
896-
commons
897-
-
898-
exec
899-
:
900-
1
901-
.
902-
3
903-
'
904-
classpath
905-
'
906-
com
907-
.
908-
diffplug
909-
.
910-
spotless
911-
:
912-
spotless
913-
-
914-
plugin
915-
-
916-
gradle
917-
:
918-
6
919-
.
920-
18
921-
.
922-
0
923-
'
924-
classpath
925-
'
926-
org
927-
.
928-
tomlj
929-
:
930-
tomlj
931-
:
932-
1
933-
.
934-
1
935-
.
936-
0
937-
'
938-
classpath
939-
"
940-
org
941-
.
942-
jetbrains
943-
.
944-
kotlin
945-
:
946-
kotlin
947-
-
948-
gradle
949-
-
950-
plugin
951-
:
952-
kotlin_version
953-
"
954-
}
955-
}
956956
/
957957
/
958958
A

0 commit comments

Comments
 (0)