Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.FreakPirate:MoviePedia:'
}
dependencies {
implementation("com.github.FreakPirate:MoviePedia:")
}
<dependency>
<groupId>com.github.FreakPirate</groupId>
<artifactId>MoviePedia</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.FreakPirate" % "MoviePedia" % ""
:dependencies [[com.github.FreakPirate/MoviePedia ""]]
This application is a part of Android Developer Nanodegree program, which I made from scratch. Although "Movie Pedia" scritly follows P1-Rubrics, additional functionailties like CollapsingToolBarLayout scroll etc., are also included. "Movie Pedia" simply fetches data from "moviedb.org" API and presents it as a sophisticated layout. P2 is under construction.
With the app, you can:
Feature yet to implement:
This app uses TMDB API to retrieve movies.
You must provide your own API key in order to build the app. Obtain the key and make a new file:
gradle.properties
in root directory and place your key in it as:
API_KEY="INSERT_YOUR_KEY_HERE"
. And you are good to go.