Skip to content

n0lik/TMDB-Android-Client

Repository files navigation

TMDB Android Client

Welcome to my pet project. It will be supported by me at free time.

This project exposes ideas, approaches and its implementations.

Libraries

Settings

If you desire to try this app, you have to do few steps:

  1. remove suffix .example for the file api-config.properties.example
  2. add API key to the file.

If you don't have it, you'll be able generate it there

Gradle configuration

The main idea is to separate project build logic using gradle plugins.

There are basic plugins:

Gradle Version Catalog

Read official documentation here.

Note!
Version catalog don't accessible from precompiled script plugins
Issue (gradle/gradle#15383 (comment))

By default, versions of a dependency declared in the file gradle/libs.versions.toml. If you wish to add dependency to the project, just declare a version of a dependency in the one of 4 major sections in the TOML file and press Sync project. Now, your can pick from when declaring dependencies in a build script. The dependency coordinates can be picked from a version catalog (example, for build.gradle.kts):

dependencies {
    implementation(libs.{your_dependency_name})
}

Tests

MockKtorHttpClient - solution for mocking responses over Ktor library.

Have a good coding:)