You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CameraView/docs/_about/install.md

27 lines
686 B

---
layout: page
title: "Install"
description: "Integrate in your project"
order: 1
---
The library works on API 15+, which is the only requirement and should be met by most projects nowadays.
It is publicly hosted on [Maven Central](https://repo.maven.apache.org/maven2/com/otaliastudios/cameraview), where you
can download the AAR package. To fetch with Gradle, make sure you add the Maven Central repository in your root projects `build.gradle` file:
```groovy
allprojects {
repositories {
mavenCentral()
}
}
```
Then simply download the latest version:
```groovy
api 'com.otaliastudios:cameraview:{{ site.github_version }}'
```
No other configuration steps are needed.