-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.gradle
52 lines (44 loc) · 1.22 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
buildscript {
ext.kotlin_version = '1.2.30'
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.github.triplet.gradle:play-publisher:1.2.0'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
ext {
ci = "true".equals(System.getenv("CI"))
preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
// Manifest version information!
versionMajor = 2
versionMinor = 0
versionPatch = 0
versionBuild = 1 // bump for dogfood builds, public betas, etc.
versionCode = versionMajor * 10000 + versionMinor * 1000 + versionPatch * 100 + versionBuild
versionName = "${versionMajor}.${versionMinor}.${versionPatch}"
compileSdkVersion = 27
buildToolsVersion = "27.0.3"
targetSdkVersion = 27
}
allprojects {
repositories {
jcenter()
google()
maven {
url 'https://jitpack.io'
}
}
apply plugin: 'findbugs'
findbugs {
ignoreFailures = true
}
apply plugin: 'pmd'
pmd {
ignoreFailures = true
}
}