-
Notifications
You must be signed in to change notification settings - Fork 19
/
build.gradle
40 lines (34 loc) · 1.03 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
buildscript {
ext.kotlin_version = '1.2.50'
ext.support_lib_version = '27.1.1'
ext.dokka_version = '0.9.16'
ext.timber_version='4.7.0'
repositories {
mavenCentral()
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:$dokka_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
google()
}
allprojects {
String tagName = System.getenv('CIRCLE_TAG')
boolean isTag = tagName != null && !tagName.isEmpty()
String buildNumber = System.getenv('CIRCLE_BUILD_NUM') ?: "0"
group 'com.jwoolston.android'
version "$VERSION_NAME.${buildNumber}" + (isTag ? "" : "-SNAPSHOT")
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
google()
}
}