This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (44 loc) · 1.59 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
/**
* Include this gradle file if you are building against this as a standalone gradle library project,
* as opposed to building it as part of the git-tree. This is typically the file you want to include
* if you create a new project in Android Studio. Besides, SetupDesign library is dependent with
* SetupCompat library, you should also include setupcompat library in project.
*
* For example, you can include the following in your settings.gradle file:
* include ':setupdesign'
* project(':setupdesign').projectDir = new File(PATH_TO_THIS_DIRECTORY)
* include ':setupcompat'
* project(':setupcompat').projectDir = new File(PATH_TO_THIS_DIRECTORY)
*
* And then you can include the :setupdesign project as one of your dependencies
* dependencies {
* implementation project(path: ':setupdesign')
* }
*/
apply plugin: 'com.android.library'
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 14
targetSdkVersion 28
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.flags'
}
}
sourceSets {
main {
manifest.srcFile 'main/AndroidManifest.xml'
java.srcDirs = ['main/src']
res.srcDirs = ['main/res', 'strings/res']
}
}
}
dependencies {
implementation project(':setupcompat')
implementation "androidx.annotation:annotation:1.0.0"
implementation "androidx.recyclerview:recyclerview:1.0.0"
implementation 'androidx.appcompat:appcompat:1.0.2'
}