in build.gradle of the library:
apply plugin: 'com.android.library'
aar can be found in build/outputs/aar/
USE
in build.gradle of the project:
repositories { flatDir { dirs 'libs' } } dependencies { compile(name:'cards', ext:'aar') }
USE
in build.gradle of the project:
repositories { flatDir { dirs 'libs' } } dependencies { compile(name:'cards', ext:'aar') }
-renamesourcefileattribute SourceFile -keepattributes SourceFile,LineNumberTable