mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
exclude android*.jar files from *.aar output
This commit is contained in:
@@ -51,12 +51,18 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
android.libraryVariants.all { variant ->
|
||||||
|
variant.outputs.each { output ->
|
||||||
|
output.packageLibrary.exclude('libs/android-runtime.jar')
|
||||||
|
output.packageLibrary.exclude('libs/android-binding-generator.jar')
|
||||||
|
}
|
||||||
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||||||
testCompile 'junit:junit:4.12'
|
testCompile 'junit:junit:4.12'
|
||||||
compile 'com.android.support:support-v4:+'
|
compile 'com.android.support:support-v4:+'
|
||||||
compile files('libs/android-runtime.jar')
|
compile files('extlibs/android-binding-generator.jar')
|
||||||
compile files('libs/android-binding-generator.jar')
|
compile files('extlibs/android-runtime.jar')
|
||||||
}
|
}
|
||||||
|
|
||||||
task cleanDistDir (type: Delete) {
|
task cleanDistDir (type: Delete) {
|
||||||
|
|||||||
Reference in New Issue
Block a user