Skip to content

kfurue/LibImplementSample

Repository files navigation

SampleLibrary

TIL how to implement and distribute a library.

Description

This is a sample implementation of library for Android project.

Demo

Requirement

minSdkVersion 19

Usage

Gradle:

repositories {
    ・
    ・
    ・
    maven { url 'http://raw.githubusercontent.com/kfurue/LibImplementSample/master/repository/'}
}
  ・
  ・
  ・
dependencies {
    ・
    ・
    ・
    compile 'com.example.librarytest:librarytest:1.0.0'
}

SampleLibrary requires at Android 4.4.

Example

MainActivity.java:

import com.example.librarytest.SampleLibrary;

  new SampleLibrary().sampleMethod();

Contribution

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Licence

MIT

Author

kfurue

About

Library Trial Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages