https://github.com/birjuvachhani/bext
A kotlin extensions library to remove boilerplate code using Kotlin DSL. See wiki for more examples...
https://github.com/birjuvachhani/bext
android android-development android-library bext gradle hacktoberfest hactoberfest2020 kotlin kotlin-android kotlin-android-extensions kotlin-dsl kotlin-extensions kotlin-language kotlin-library library-free wiki
Last synced: about 1 year ago
JSON representation
A kotlin extensions library to remove boilerplate code using Kotlin DSL. See wiki for more examples...
- Host: GitHub
- URL: https://github.com/birjuvachhani/bext
- Owner: BirjuVachhani
- License: apache-2.0
- Created: 2018-11-01T06:48:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-04T08:54:33.000Z (over 5 years ago)
- Last Synced: 2025-03-25T16:51:27.972Z (about 1 year ago)
- Topics: android, android-development, android-library, bext, gradle, hacktoberfest, hactoberfest2020, kotlin, kotlin-android, kotlin-android-extensions, kotlin-dsl, kotlin-extensions, kotlin-language, kotlin-library, library-free, wiki
- Language: Kotlin
- Homepage: https://github.com/BirjuVachhani/bext/wiki
- Size: 270 KB
- Stars: 17
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Bext - Base Extensions
[](https://opensource.org/licenses/Apache-2.0)
[](https://kotlinlang.org/)
[](https://www.android.com/)
[](https://android-arsenal.com/api?level=16)
[](https://jitpack.io/BirjuVachhani/bext)
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](https://github.com/BirjuVachhani/bext/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](https://github.com/Birjuvachhani/bext/wiki) for more information.
## Contribution
You are most welcome to contribute to this project!
Please have a look at [Contributing Guidelines](https://github.com/BirjuVachhani/bext/blob/master/CONTRIBUTING.md), before contributing and proposing a change.
## 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.
```
