Skip to content

johnjohndoe/c3media-base

Repository files navigation

Build Status Apache License JitPack

c3media-base library

A Kotlin library containing a parser and models for the media API of the CCC available here:

Gradle build

To deploy the library to your local Maven repository run the following task:

$ ./gradlew publishToMavenLocal

Then, to use the library in your project add the following to your top level build.gradle:

allprojects {
    repositories {
        mavenLocal()
    }
}

and to your application module build.gradle:

dependencies {
    // use this for the basic c3media version
    implementation "info.metadude.kotlin.library.c3media:c3media-base:$version"
    // or use this line for the rx-java-2 version of c3media
    implementation "info.metadude.kotlin.library.c3media:c3media-rx-java-2:$version"
}

Alternatively, you can use JitPack to fetch and build the sources directly from this repository.

Tests

Run the following command to execute all tests:

$ ./gradlew clean test

Which applications are using this library?

Author

Contributors

License

Copyright 2017-2022 Tobias Preuss

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.