Skip to content
Gradle plugin which will help you to add Aar dependencies into your java|kotlin modules
Kotlin
Branch: master
Clone or download
Pull request Compare This branch is 15 commits ahead, 1 commit behind gradle-guides:master.
Latest commit 55ff256 Jul 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/main/java/com/stepango/aar2jar
.gitignore
CHANGELOG.md Changelog update Jul 8, 2019
README.md Readme update Jul 8, 2019
build.gradle
gradlew
gradlew.bat Update Gradle wrapper to 5.4.1 May 8, 2019
settings.gradle Initalised greeting plugin exampler (gradle/guides#48) Mar 20, 2017

README.md

aar2jar

Gradle plugin which will help you to add Aar dependencies into your java|kotlin modules

How to use: add following lines in your module's build.gradle file

plugins {
	id 'kotlin'
	id 'com.stepango.aar2jar' version “0.6” // <- this one
}


dependencies {
	implementation Libs.kotlin
	compileOnlyAar "com.android.support:support-annotations:28.0.0" // <- Use any AAR dependencies
	// or
	implementationAar "com.android.support:support-annotations:28.0.0" // <- Use any AAR dependencies
	// or
	testCompileOnlyAar "com.android.support:support-annotations:28.0.0" // <- Use any AAR dependencies
	// or
	testImplementationAar "com.android.support:support-annotations:28.0.0" // <- Use any AAR dependencies
}

If using compileOnlyAar dependencies - make sure you have this dependency in any of your other modules build.gradle

implementation "com.android.support:support-annotations:28.0.0"
//or 
runtimeOnly "com.android.support:support-annotations:28.0.0"

Presentation Mobuis 2019 RUS

Gradle plugin page

You can’t perform that action at this time.