-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
65 lines (58 loc) · 1.58 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
58
59
60
61
62
63
64
65
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.7.22'
repositories {
google()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "gradle.plugin.com.cookpad.android.plugin:plugin:1.2.2"
//sqldelight
classpath 'com.squareup.sqldelight:gradle-plugin:1.5.4'
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
project.apply from: project.rootDir.absolutePath + '/jacocoLib.gradle'
static def gitSha() {
def sha = ""
def proc = "git rev-parse --short HEAD".execute()
proc.in.eachLine { line -> sha = line }
proc.err.eachLine { line -> println line }
proc.waitFor()
sha
}
ext {
minSdkVersion = 19
compileSdkVersion = 31
targetSdkVersion = 31
jacksonCbor = "2.14.0"
kotlinxCoroutine="1.6.4"
junit = "4.13.2"
extJunitVersion = "1.1.4"
espressoCoreVersion = "3.5.0"
slf4_logger = "1.7.36"
bounty = "1.65"
picocli = "4.7.0"
coreKtxVersion = "1.5.0"
rxKotlinVersion = "3.0.1"
mockitoVersion = "4.1.0"
coroutineTest = "1.6.4"
arrow_version = "1.1.2"
sqldelightVersion = "1.5.4"
roomVersion = "2.4.3"
roomTestingVersion = "2.4.3"
}
task clean(type: Delete) {
delete rootProject.buildDir
}