forked from lapism/search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·95 lines (75 loc) · 2.49 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
apply plugin: 'com.android.library'
apply plugin: "com.jfrog.bintray"
apply plugin: 'com.github.dcendents.android-maven'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
sourceSets {
main.res.srcDirs = [
'src/main/res',
'src/main/res-public'
]
}
/*sourceSets {
main.res.srcDirs 'res', 'res-public'
// main.res.srcDirs += 'src/main/res-public'
}*/
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 5
versionName "5.0.0-alpha4"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
/*compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}*/
lintOptions {
abortOnError false
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.google.android:flexbox:0.3.0'
implementation 'com.android.support:recyclerview-v7:26.0.1'
implementation 'com.android.support:cardview-v7:26.0.1'
implementation 'com.android.support:design:26.0.1'
implementation 'com.android.support:appcompat-v7:26.0.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.0'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.0'
}
ext {
bintrayRepo = 'maven'
bintrayName = 'searchview'
publishedGroupId = 'com.lapism'
libraryName = 'SearchView'
artifact = 'searchview'
libraryDescription = 'Persistent SearchView Library in Material Design.'
siteUrl = 'https://github.com/lapism/SearchView'
gitUrl = 'https://github.com/lapism/SearchView.git'
libraryVersion = '5.0.0-alpha4'
developerId = 'lapism'
developerName = 'Martin Lapiš'
developerEmail = '[email protected]'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
apply from: './install.gradle'
apply from: './bintray.gradle'
/*./gradlew install./gradlew bintrayUpload
gradlew install
gradlew bintrayUpload
}*/
// minifyEnabled true
// shrinkResources true
// https://services.gradle.org/distributions/