This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 101
/
build.gradle
57 lines (49 loc) · 1.64 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.3.61"
repositories {
google()
jcenter()
}
dependencies {
// The AGP were moved into the buildSrc/build.gradle.kts file
// classpath "com.android.tools.build:gradle:3.4.2"
classpath "com.vanniktech:gradle-android-junit-jacoco-plugin:0.12.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'com.vanniktech.android.junit.jacoco'
allprojects {
repositories {
google()
jcenter()
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
excludes = ['**/*.kt']
}
}
ext {
VERSION_NAME = "1.0.1"
VERSION_CODE = 16
MIN_SDK_VERSION = 14
// If you change the SDK version don't forget to update .travis.yml
TARGET_SDK_VERSION = 28
COMPILE_SDK_VERSION = 28
androidXAppCompatVersion = '1.1.0'
androidXAnnotationVersion = '1.1.0'
androidXTestRunnerVersion = '1.2.0'
junitVersion = '4.13'
mockitoVersion = '2.28.2'
mockitoKotlinVersion = '1.6.0'
assertjVersion = '2.9.1'
// According to https://github.com/googlesamples/android-custom-lint-rules/tree/master/android-studio-3
// the lint version should match to the used Android Gradle Plugin by the formula "AGP Version X.Y.Z + 23.0.0"
// E.g. "AGP Version 3.1.3 + 23.0.0 = Lint Version 26.1.3"
lintVersion = '26.4.2'
}
allprojects {
version = VERSION_NAME
group = 'net.grandcentrix.thirtyinch'
}