-
Notifications
You must be signed in to change notification settings - Fork 433
/
Copy pathbuild.gradle
54 lines (43 loc) · 1.27 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply plugin: 'com.android.library'
// For publishing
group "com.adwiv.public"
version '1.2.3'
android {
compileSdkVersion 22
buildToolsVersion "25.0.0"
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'