1 /*
2  * Copyright 2023 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package androidx.build.testutils
18 
19 /** POM for androidx.collection:collection:1.3.0-alpha04, which is a KMP library anchor artifact. */
20 const val POM_COLLECTION =
21     """<?xml version="1.0" encoding="UTF-8"?>
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23   <!-- This module was also published with a richer model, Gradle metadata,  -->
24   <!-- which should be used instead. Do not delete the following line which  -->
25   <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
26   <!-- that they should prefer consuming it instead. -->
27   <!-- do_not_remove: published-with-gradle-metadata -->
28   <modelVersion>4.0.0</modelVersion>
29   <groupId>androidx.collection</groupId>
30   <artifactId>collection</artifactId>
31   <version>1.3.0-alpha05</version>
32   <name>collections</name>
33   <description>Standalone efficient collections.</description>
34   <url>https://developer.android.com/jetpack/androidx/releases/collection#1.3.0-alpha05</url>
35   <inceptionYear>2018</inceptionYear>
36   <licenses>
37     <license>
38       <name>The Apache Software License, Version 2.0</name>
39       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
40       <distribution>repo</distribution>
41     </license>
42   </licenses>
43   <developers>
44     <developer>
45       <name>The Android Open Source Project</name>
46     </developer>
47   </developers>
48   <scm>
49     <connection>scm:git:https://android.googlesource.com/platform/frameworks/support</connection>
50     <url>https://cs.android.com/androidx/platform/frameworks/support</url>
51   </scm>
52   <dependencies>
53     <dependency>
54       <groupId>org.jetbrains.kotlin</groupId>
55       <artifactId>kotlin-stdlib</artifactId>
56       <version>1.8.21</version>
57       <scope>runtime</scope>
58     </dependency>
59   </dependencies>
60 </project>"""
61 
62 /**
63  * POM for androidx.collection:collection-jvm:1.3.0-alpha04, which is a KMP library targeted to JVM.
64  */
65 const val POM_COLLECTION_JVM =
66     """<?xml version="1.0" encoding="UTF-8"?>
67 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
68   <!-- This module was also published with a richer model, Gradle metadata,  -->
69   <!-- which should be used instead. Do not delete the following line which  -->
70   <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
71   <!-- that they should prefer consuming it instead. -->
72   <!-- do_not_remove: published-with-gradle-metadata -->
73   <modelVersion>4.0.0</modelVersion>
74   <groupId>androidx.collection</groupId>
75   <artifactId>collection-jvm</artifactId>
76   <version>1.3.0-alpha05</version>
77   <name>collections</name>
78   <description>Standalone efficient collections.</description>
79   <url>https://developer.android.com/jetpack/androidx/releases/collection#1.3.0-alpha05</url>
80   <inceptionYear>2018</inceptionYear>
81   <licenses>
82     <license>
83       <name>The Apache Software License, Version 2.0</name>
84       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
85       <distribution>repo</distribution>
86     </license>
87   </licenses>
88   <developers>
89     <developer>
90       <name>The Android Open Source Project</name>
91     </developer>
92   </developers>
93   <scm>
94     <connection>scm:git:https://android.googlesource.com/platform/frameworks/support</connection>
95     <url>https://cs.android.com/androidx/platform/frameworks/support</url>
96   </scm>
97   <dependencyManagement>
98     <dependencies>
99       <dependency>
100         <groupId>androidx.collection</groupId>
101         <artifactId>collection-ktx</artifactId>
102         <version>1.3.0-alpha01</version>
103       </dependency>
104     </dependencies>
105   </dependencyManagement>
106   <dependencies>
107     <dependency>
108       <groupId>org.jetbrains.kotlin</groupId>
109       <artifactId>kotlin-stdlib</artifactId>
110       <version>1.8.21</version>
111       <scope>compile</scope>
112     </dependency>
113     <dependency>
114       <groupId>androidx.annotation</groupId>
115       <artifactId>annotation</artifactId>
116       <version>1.3.0</version>
117       <scope>compile</scope>
118     </dependency>
119   </dependencies>
120 </project>"""
121 
122 /** POM for androidx.compose.ui:ui-geometry:1.6.0-alpha01. */
123 const val POM_COMPOSE_UI_GEOMETRY =
124     """<?xml version="1.0"?>
125 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
126   <!-- This module was also published with a richer model, Gradle metadata,  -->
127   <!-- which should be used instead. Do not delete the following line which  -->
128   <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
129   <!-- that they should prefer consuming it instead. -->
130   <!-- do_not_remove: published-with-gradle-metadata -->
131   <modelVersion>4.0.0</modelVersion>
132   <groupId>androidx.compose.ui</groupId>
133   <artifactId>ui-geometry</artifactId>
134   <version>1.6.0-alpha01</version>
135   <packaging>pom</packaging>
136   <name>Compose Geometry</name>
137   <description>Compose classes related to dimensions without units</description>
138   <url>https://developer.android.com/jetpack/androidx/releases/compose-ui#1.6.0-alpha01</url>
139   <inceptionYear>2020</inceptionYear>
140   <licenses>
141     <license>
142       <name>The Apache Software License, Version 2.0</name>
143       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
144       <distribution>repo</distribution>
145     </license>
146   </licenses>
147   <developers>
148     <developer>
149       <name>The Android Open Source Project</name>
150     </developer>
151   </developers>
152   <scm>
153     <connection>scm:git:https://android.googlesource.com/platform/frameworks/support</connection>
154     <url>https://cs.android.com/androidx/platform/frameworks/support</url>
155   </scm>
156 </project>
157 """
158 
159 /** POM for androidx.core:core:1.12.0-alpha05. */
160 const val POM_CORE_CORE =
161     """<?xml version="1.0" encoding="UTF-8"?>
162 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
163   <!-- This module was also published with a richer model, Gradle metadata,  -->
164   <!-- which should be used instead. Do not delete the following line which  -->
165   <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
166   <!-- that they should prefer consuming it instead. -->
167   <!-- do_not_remove: published-with-gradle-metadata -->
168   <modelVersion>4.0.0</modelVersion>
169   <groupId>androidx.core</groupId>
170   <artifactId>core</artifactId>
171   <version>1.12.0-alpha05</version>
172   <packaging>pom</packaging>
173   <name>Core</name>
174   <description>Provides backward-compatible implementations of Android platform APIs and features.</description>
175   <url>https://developer.android.com/jetpack/androidx/releases/core#1.12.0-alpha05</url>
176   <inceptionYear>2015</inceptionYear>
177   <licenses>
178     <license>
179       <name>The Apache Software License, Version 2.0</name>
180       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
181       <distribution>repo</distribution>
182     </license>
183   </licenses>
184   <developers>
185     <developer>
186       <name>The Android Open Source Project</name>
187     </developer>
188   </developers>
189   <scm>
190     <connection>scm:git:https://android.googlesource.com/platform/frameworks/support</connection>
191     <url>https://cs.android.com/androidx/platform/frameworks/support</url>
192   </scm>
193   <dependencyManagement>
194     <dependencies>
195       <dependency>
196         <groupId>androidx.core</groupId>
197         <artifactId>core-ktx</artifactId>
198         <version>1.12.0-alpha05</version>
199       </dependency>
200       <dependency>
201         <groupId>androidx.core</groupId>
202         <artifactId>core-testing</artifactId>
203         <version>1.12.0-alpha05</version>
204       </dependency>
205     </dependencies>
206   </dependencyManagement>
207   <dependencies>
208     <dependency>
209       <groupId>androidx.annotation</groupId>
210       <artifactId>annotation</artifactId>
211       <version>1.6.0</version>
212       <scope>compile</scope>
213     </dependency>
214     <dependency>
215       <groupId>androidx.annotation</groupId>
216       <artifactId>annotation-experimental</artifactId>
217       <version>1.3.0</version>
218       <scope>compile</scope>
219     </dependency>
220     <dependency>
221       <groupId>androidx.collection</groupId>
222       <artifactId>collection</artifactId>
223       <version>1.0.0</version>
224       <scope>runtime</scope>
225     </dependency>
226     <dependency>
227       <groupId>androidx.concurrent</groupId>
228       <artifactId>concurrent-futures</artifactId>
229       <version>1.0.0</version>
230       <scope>runtime</scope>
231     </dependency>
232     <dependency>
233       <groupId>androidx.interpolator</groupId>
234       <artifactId>interpolator</artifactId>
235       <version>1.0.0</version>
236       <scope>runtime</scope>
237     </dependency>
238     <dependency>
239       <groupId>androidx.lifecycle</groupId>
240       <artifactId>lifecycle-runtime</artifactId>
241       <version>2.3.1</version>
242       <scope>compile</scope>
243     </dependency>
244     <dependency>
245       <groupId>androidx.versionedparcelable</groupId>
246       <artifactId>versionedparcelable</artifactId>
247       <version>1.1.1</version>
248       <scope>compile</scope>
249     </dependency>
250     <dependency>
251       <groupId>org.jetbrains.kotlin</groupId>
252       <artifactId>kotlin-stdlib</artifactId>
253       <version>1.8.22</version>
254       <scope>runtime</scope>
255     </dependency>
256   </dependencies>
257 </project>
258 """
259