Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.21 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.21 KB

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.