forked from lapism/search
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
executable file
·113 lines (91 loc) · 2.59 KB
/
build.gradle
File metadata and controls
executable file
·113 lines (91 loc) · 2.59 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
apply plugin: 'com.android.library'
apply plugin: "com.jfrog.bintray"
apply plugin: 'com.github.dcendents.android-maven'
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url 'https://maven.google.com'
}
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
classpath "com.github.dcendents:android-maven-gradle-plugin:2.1"
}
}
android {
compileSdkVersion 28
sourceSets {
main.res.srcDirs = [
'src/main/res',
'src/main/res-public'
]
}
defaultConfig {
minSdkVersion 21
targetSdkVersion 28
versionCode 28
versionName "28.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
/*sourceSets {
main.res.srcDirs 'res', 'res-public'
// main.res.srcDirs += 'src/main/res-public'
}*/
/*
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
*/
lintOptions {
abortOnError false
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.annotation:annotation:1.0.2'
}
ext {
bintrayRepo = 'maven'
bintrayName = 'searchview'
publishedGroupId = 'com.lapism'
libraryName = 'SearchView'
artifact = 'searchview'
libraryDescription = 'Persistent SearchView Library in Material Design.'
libraryVersion = '27.1.1.0.0'
siteUrl = 'https://github.com/lapism/SearchView'
gitUrl = 'https://github.com/lapism/SearchView.git'
developerId = 'lapism'
developerName = 'Martin Lapis'
developerEmail = 'lapis.martin@gmail.com'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
repositories {
google()
}
apply from: './install.gradle'
apply from: './bintray.gradle'
/*
./gradlew install
./gradlew bintrayUpload
}*/
// minifyEnabled true
// shrinkResources true
// https://services.gradle.org/distributions/