forked from laenger/ViewPagerBottomSheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (47 loc) · 1.51 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 {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0-rc03'
}
}
ext {
runningOnJenkins = System.getenv('JENKINS_URL') != null
nexusReleasesRepository = getEnvOrProperty('NEXUS_RELEASES_REPOSITORY')
nexusSnapshotsRepository = getEnvOrProperty('NEXUS_SNAPSHOTS_REPOSITORY')
nexusUsername = getEnvOrProperty('NEXUS_USERNAME')
nexusPassword = getEnvOrProperty('NEXUS_PASSWORD')
developers = [
[
id : 'laenger',
name : 'Christian Langer',
email: '[email protected]'
]
]
scm = [
connection : 'scm:git:[email protected]:laenger/ViewPagerBottomSheet.git',
developerConnection: 'scm:git:[email protected]:laenger/ViewPagerBottomSheet.git',
url : 'https://github.com/laenger/ViewPagerBottomSheet'
]
compileSdkVersion = 27
buildToolsVersion = '27.0.3'
targetSdkVersion = 27
supportVersion = '27.1.0'
butterknifeVersion = '8.8.1'
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://raw.github.com/laenger/maven-releases/master/releases" }
maven { url "https://raw.github.com/laenger/maven-releases/master/snapshots" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
def getEnvOrProperty(String name) {
return System.getenv(name) ?: project.hasProperty(name) ? project[name] : '';
}