forked from adwiv/android-fat-aar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
41 lines (33 loc) · 1020 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
apply plugin: 'com.android.library'
// For publishing
group "com.adwiv.public"
version '1.2.3'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
apply from: 'fat-aar.gradle'
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
// Order of dependencies decide which will have precedence in case of duplicates
// during manifest / resource merger
embedded project(':librarytwo')
embedded project(':libraryone')
// We can embed android libraries from maven too
embedded 'com.adwiv.internal:librarythree:1.0.0'
compile 'com.android.support:appcompat-v7:22.2.0' //Non embedded dependency
}
// For publishing this library
apply from: 'publish.gradle'