Skip to content

jpusp/source-sdk

Repository files navigation

template-library-android

This is a template library to be used in android projects as a model for others libraries

Code Style

Lint

Report

Application Checklist

How to Use

To add it in your project, follow the steps below:

  1. Open your root build.gradleand add the following artifactory repository in the allprojects section:

    allprojects {
        repositories {
            ...
            maven { url 'http://artifactory.private.cd.vivareal.io/artifactory/releases' }
        }
    }
  2. Add the dependency to your app build.gradle:

    dependencies {
        implementation '<com.olxbr.YOURLIBRARY>:<version>'
    }

    Visit artifactory to find the latest version of this library

  3. PUT YOUR LIBRARY INSTRUCTIONS HERE

How to Run

You can run the sample project using the Android Studio or using the following command on terminal:

./gradlew :sample:installDebug

How to Test

Every time you perform a pull request, the pull request workflow on github actions will run unit tests automatically.

If you want to run tests locally, just use the following command on terminal:

./gradlew :lib:testDebugUnitTest

How to Deploy

When you finished to implement a new feature and committed changes, just open a PR:

For example, if you implemented a bugfix and the PR title contains the fix: prefix, then semantic_release fastlane plugin will bump version with patch. So, if project version is 1.0.0, the plugin will updated target versions to 1.0.1 automatically.

After reviewing and merging, the CI system will publish the new version of the aar library in the artifactory. 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published