Android Kit is a framework for Android development
Add the following to the root build.gradle
file
allprojects {
repositories {
maven {
url "https://maven.pkg.github.com/eadm/AndroidKit"
credentials {
username = System.getenv('GITHUB_USER') ?: project.properties['GITHUB_USER']
password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') ?: project.properties['GITHUB_PERSONAL_ACCESS_TOKEN']
}
}
}
}
Next, you need to generate a GitHub Token with the read:packages
permission and place it in the root gradle.properties
file (usually located in ~/.gradle/gradle.properties
).
GITHUB_USER=YOUR_GITHUB_USER_NAME
GITHUB_PERSONAL_ACCESS_TOKEN=YOUR_GITHUB_ACCESS_TOKEN
A set of basic classes and extensions for models
dependencies {
implementation("ru.nobird.app.core:model:1.0.8")
}
Extensions for working with RxJava
dependencies {
implementation 'ru.nobird.android.domain:rx:x.y.z'
}
Base for the presentation layer
dependencies {
implementation 'ru.nobird.android.presentation:base:1.1.0'
}
Base for the presentation-redux layer, an alternative to presentation-base
dependencies {
implementation("ru.nobird.app.presentation:presentation-redux:1.3.1")
}
Extensions for the presentation-redux architecture with coroutines
dependencies {
implementation("ru.nobird.app.presentation:presentation-redux-coroutines:1.3.1")
}
Extensions for the presentation-redux architecture with RxJava 2
dependencies {
implementation("ru.nobird.android.presentation:redux-rx:1.3.0")
}
Delegates for list adapters
dependencies {
implementation 'ru.nobird.android.ui:adapter-delegates:1.1.1'
}
Extensions for RecycleView adapters, including automatic updates via diff callback and selection handling
dependencies {
implementation 'ru.nobird.android.ui:adapters:1.1.1'
}
Extensions for Dependency Injection
dependencies {
implementation("ru.nobird.android.view:injection:1.1.0")
}
Extensions for navigation via Cicerone
dependencies {
implementation 'ru.nobird.android.view:navigation:1.1.0'
}
A set of UI extensions
dependencies {
implementation 'ru.nobird.android.view:ui:1.1.0'
}
UI extensions for the redux architecture
dependencies {
implementation("ru.nobird.android.view:redux:1.3.0")
}