All Projects → Mobbeel → Fataar Gradle Plugin

Mobbeel / Fataar Gradle Plugin

Licence: apache-2.0
Gradle plugin to help embed dependencies in generated AAR artifact

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to Fataar Gradle Plugin

Androidonboarder
A simple way to make a beauty onboarding experience (app intro or welcome screen) for your users.
Stars: ✭ 269 (-12.66%)
Mutual labels:  gradle
Plotsquared
PlotSquared - Reinventing the plotworld
Stars: ✭ 284 (-7.79%)
Mutual labels:  gradle
The Pit Of The Android Studio
👍 👍 👏 🌟 ⭐️ ⭐️ Everything about the Android Studio and Intellij IDEAfor example:Install,common problems and solutions,each libraries for android and androidx library,code and peoject templates,etc.全面总结Android Studio以及Intellij IDEA的填坑指南,详解AS版本号、Gradle版本、BuildTools三者的对照关系,AS模板配置,gradle插件,Android自带注解库详解,support详解等干货。
Stars: ✭ 296 (-3.9%)
Mutual labels:  gradle
Android Camera2 Secret Picture Taker
Take pictures 📷 secretly (without preview or launching device's camera app) using Android CAMERA2 API
Stars: ✭ 275 (-10.71%)
Mutual labels:  gradle
Gradle Multi Project Example
Gradle 多项目管理示例
Stars: ✭ 283 (-8.12%)
Mutual labels:  gradle
Gradle Ssh Plugin
Gradle SSH Plugin
Stars: ✭ 289 (-6.17%)
Mutual labels:  gradle
Alerting
📟 Open Distro for Elasticsearch Alerting Plugin
Stars: ✭ 259 (-15.91%)
Mutual labels:  gradle
Minecolonies
Minecolonies minecraft mod
Stars: ✭ 303 (-1.62%)
Mutual labels:  gradle
Gradle Docker Compose Plugin
Simplifies usage of Docker Compose for integration testing in Gradle environment.
Stars: ✭ 284 (-7.79%)
Mutual labels:  gradle
Atom
Java course materials
Stars: ✭ 293 (-4.87%)
Mutual labels:  gradle
Kotlin Examples
Various examples for Kotlin
Stars: ✭ 3,014 (+878.57%)
Mutual labels:  gradle
Gradle Code Quality Tools Plugin
Gradle plugin that generates ErrorProne, Findbugs, Checkstyle, PMD, CPD, Lint, Detekt & Ktlint Tasks for every subproject.
Stars: ✭ 282 (-8.44%)
Mutual labels:  gradle
Javapackager
📦 Gradle/Maven plugin to package Java applications as native Windows, Mac OS X, or GNU/Linux executables and create installers for them.
Stars: ✭ 285 (-7.47%)
Mutual labels:  gradle
Gradle Aws Plugin
Gradle plugin to manage Amazon Web Services
Stars: ✭ 269 (-12.66%)
Mutual labels:  gradle
Emotion Rating View
A library for animated rating view in Android apps.
Stars: ✭ 299 (-2.92%)
Mutual labels:  gradle
Baritone
google maps for block game
Stars: ✭ 3,868 (+1155.84%)
Mutual labels:  gradle
Gittoolbox
GitToolBox IntelliJ plugin
Stars: ✭ 284 (-7.79%)
Mutual labels:  gradle
Mmorpg
springboot编写的轻量级高性能mmorpg手游服务端框架,基本功能逐渐完善中。
Stars: ✭ 309 (+0.32%)
Mutual labels:  gradle
Play Services Plugins
Plugins to help with using Google Play services SDK.
Stars: ✭ 298 (-3.25%)
Mutual labels:  gradle
Xhttp2
💪A powerful network request library, encapsulated using the RxJava2 + Retrofit2 + OKHttp combination.(一个功能强悍的网络请求库,使用RxJava2 + Retrofit2 + OKHttp组合进行封装)
Stars: ✭ 292 (-5.19%)
Mutual labels:  gradle

Mobbeel fat AAR Gradle plugin

In Mobbeel we work with a complex hierarchy of modules that in turn must embed other dependencies in the resulting AAR. To do this we use this Gradle plugin that allows to merge a project and its dependencies in the same AAR (fat-aar).

Issue reporting are welcome to continue to improve this plugin.

Plugin work with Android gradle plugin 3.0.0 o higher

Features

  • Support external dependencies from workspace (example: api "com.mobbeel:my-lib:1.0.0")

  • Support internal dependencies (example: api project(':My-lib-module'))

  • Support internal/external native dependencies

  • Support internal/external AAR dependencies

  • Support add transitive dependencies from pom.xml on jar dependencies

  • [NEW] Merge resources from AAR dependencies

How to use?

  1. Configure your buildscript to include the plugin:
buildscript {
  repositories {
    maven { url "https://plugins.gradle.org/m2/" }
  }
  dependencies {
    classpath "com.mobbeel.plugin:fat-aar:2.0.1"
  }
}
  1. Apply the plugin on the top of your library module build.gradle:
apply plugin: "com.mobbeel.plugin"
  1. Mark with 'api' configuration dependecies that need embed on the final AAR:
dependencies {
    api "com.mobbeel:my-lib:1.0.0"  // <- Embed external dependency from any repository
    api project(':My-lib-module')   // <- Embed internal dependency on workspace

    ...
}

Add to fat AAR all transitive dependencies

By default, the transitive dependencies that define a dependency are not added to the fat AAR. You can add them by adding these settings:

aarPlugin {
    includeAllInnerDependencies true  // It's false for default
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].