Skip to content

A kotlin extensions library to remove boilerplate code using Kotlin DSL. See wiki for more examples...

License

Notifications You must be signed in to change notification settings

BirjuVachhani/bext

Repository files navigation

Bext - Base Extensions

License language Platform API Release

Bext is a kotlin extensions library which makes it very easy to write short and clean code and saves a developer's life from being miserable.

See wiki for more information on extensions and packages.

Please note that from the version 2.0.0, this library is migrated to AndroidX and doesn't provide support for older Android packages.

Gradle Dependency

  • Add the JitPack repository to your project's build.gradle file.
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
  • Add the dependency in your app's build.gradle file.
dependencies {
    // Core extensions from standard android packages
    implementation "com.github.BirjuVachhani.bext:bext-core:latest-version"
    
    // Extensions for Android Architecture components
    implementation "com.github.BirjuVachhani.bext:bext-arch:latest-version"
    
    // Extensions for common third-party libraries
    implementation "com.github.BirjuVachhani.bext:bext-common:latest-version"
    
    // includes all the extensions
    implementation "com.github.BirjuVachhani.bext:bext-all:latest-version"
}

see wiki for more information.

Contribution

You are most welcome to contribute to this project!

Please have a look at Contributing Guidelines, before contributing and proposing a change.

Buy Me A Coffee

Licence

Copyright 2020 BirjuVachhani

   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.