This repository was archived by the owner on Sep 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
89 lines (84 loc) · 3.05 KB
/
build.gradle
File metadata and controls
89 lines (84 loc) · 3.05 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'crypton'
crypton {
outputs = [
':app:android:app': './docs/modules/puml/:android:app.puml',
':app:jvm:server' : './docs/modules/puml/:jvm:server.puml',
':app:jvm:cli' : './docs/modules/puml/:jvm:cli.puml',
]
}
buildscript {
ext {
def version = file('version').getText().readLines()
version_code = version[0].toInteger()
version_name = version[1].trim()
min_sdk = 22
target_sdk = 27 // TODO temporary downgraded required by Omemo
compile_sdk = 29
kotlin_version = '1.4.10'
coroutines_version = "1.3.6"
dagger_version = '2.24'
timber_version = '4.7.1'
rx_version = '1.0.2'
rxjava_version = '2.1.6'
rxandroid_version = '2.0.1'
rxkotlin_version = '2.3.0'
room_version = "2.2.1"
paging_version = "2.1.0"
mockk_version = '1.9.3.kotlin12'
material_version = "1.3.0-alpha01"
appcompat_version = "1.1.0"
espresso_version = "3.2.0"
ktor_version = '1.3.2'
junit_version = '4.13'
smack_version = '4.4.0-alpha1'
versions = [
test: [
core : "1.3.0",
junit : "1.1.2",
rules : "1.3.0",
runner: "1.3.0",
],
room: "2.2.3"
]
deps = [
test: [
core : "androidx.test:core:$versions.test.core",
runner : "androidx.test:runner:$versions.test.runner",
rules : "androidx.test:rules:$versions.test.rules",
ext_junit: "androidx.test.ext:junit:$versions.test.junit",
],
room: [
common : "androidx.room:room-common:$versions.room",
ktx : "androidx.room:room-ktx:$versions.room",
compiler: "androidx.room:room-compiler:$versions.room",
testing : "androidx.room:room-testing:$versions.room",
]
]
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:6.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://jitpack.io' }
maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}