Skip to content

A Gradle plugin to allow consuming Android's AAR dependencies as JAR dependencies for JVM projects.

License

Notifications You must be signed in to change notification settings

gmazzo/gradle-aar2jar-plugin

Repository files navigation

GitHub Gradle Plugin Portal Build Status Coverage Users

gradle-aar2jar-plugin

A Gradle plugin to allow consuming Android's AAR dependencies as JAR dependencies for JVM projects.

Usage

Apply the plugin at the root project (preferable):

plugins {
    java
    id("io.github.gmazzo.aar2jar") version "<latest>" 
}

dependencies {
    implementation("androidx.fragment:fragment:1.8.5")
}

repositories {
    mavenCentral()
    google()
}

Then, whenever you consume classes from the AAR as it if it was a JAR.

About

A Gradle plugin to allow consuming Android's AAR dependencies as JAR dependencies for JVM projects.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages