README.md
author Da Risk <da_risk@geekorum.com>
Mon, 05 May 2025 17:09:13 -0400
changeset 83 33ee5f3d6466
parent 75 bcfc8238b4f6
child 84 f1e51fe391c2
permissions -rw-r--r--
core: add default value for Dispatchers

AboutOss
==========

AboutOss is an utility library to retrieve and display opensource licenses in Android applications.

Usage
=====

The library works with the [OSS Licenses Gradle Plugin](https://github.com/google/play-services-plugins/tree/master/oss-licenses-plugin). 
You can integrate it in your application with few simple steps.

### Apply the OSS Licenses Gradle Plugin

In your app-level `build.gradle`, apply the plugin by adding the following line under the existing `apply plugin: 'com.android.application'` at the top of the file:

```kotlin title="build.gradle.kts"
apply plugin: 'com.google.android.gms.oss-licenses-plugin'
```

### Add the ui library to your application

```kotlin title="build.gradle.kts"
repositories {
    maven {
        url = uri("https://jitpack.io")
    }
}

dependencies {
    implementation("com.geekorum.aboutoss:ui-material:0.0.1")
}
```

### Launch the license activity

```kotlin
val intent = Intent(this, OpenSourceLicensesActivity::class.java)
startActivity(intent)
```

Build instructions
==================

Just use Gradle to build

    ./gradlew build


License
=======

AboutOss is an open source library and is licensed under the GNU General Public License 3 and any later version.
This means that you can get AboutOss's code and modify it to suit your needs, as long as you publish the changes
you make for everyone to benefit from as well.

AboutOss is built and maintained by community volunteers.