-
Notifications
You must be signed in to change notification settings - Fork 0
Maven Local, Android Studio
Eduardo Ignacio Jaramillo Carrasco edited this page Jan 30, 2023
·
1 revision
- Estructura de una librería maven
- Ejemplo [ejemplo de estructura maven] (https://repo.maven.apache.org/maven2/com/google/accompanist/accompanist-adaptive/maven-metadata.xml)
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<script />
<groupId>com.google.accompanist</groupId>
<artifactId>accompanist-adaptive</artifactId>
<versioning>
<latest>0.29.0-alpha</latest>
<release>0.29.0-alpha</release>
<versions>
<version>0.26.2-beta</version>
<version>0.26.3-beta</version>
<version>0.26.4-beta</version>
<version>0.26.5-rc</version>
<version>0.27.0</version>
<version>0.27.1</version>
<version>0.28.0</version>
<version>0.29.0-alpha</version>
</versions>
<lastUpdated>20230112014359</lastUpdated>
</versioning>
</metadata>
- ubicación de maven local en linux
user@user:~/.m2/repository$
- agregar mavenLocal() en
settings.gradle(Project Settings)
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() . . . mavenLocal() } }