Skip to content

The core stubs and utilities of the Flixclusive's provider system

License

Notifications You must be signed in to change notification settings

flixclusiveorg/core-stubs

Repository files navigation

Flixclusive logo

Provider stubs and utilities

Most data classes, models or entities can be found here.

  • :core-util - contains most of utility and common tools that can be used in the app and providers.
  • :model-film - contains all model classes that can be considered as stream media (film or shows).
  • :model-provider - contains all the model stubs that will be used on both compilation and runtime of providers.
  • :provider - contains all provider stubs such as Provider, ProviderApi, and ProviderWebView.

To use all of the modules:

Step 1. Add the JitPack repository to your build file

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        // other repositories here...
        mavenCentral()
        maven {
            url = uri("https://jitpack.io") // <-- add this
        }
    }
}

Step 2. Add the dependency

The latest version can be found here: latest tag

dependencies {
    implementation("com.github.flixclusiveorg.core-stubs:provider:$LATEST_CORE_STUBS_VERSION")
}