-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (50 loc) · 1.81 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
versions = [
kotlin : "1.7.10",
moshi : '1.8.0',
okhttp : '3.11.0',
jupiter : '5.7.0',
'minSdk' : 23,
'compileSdk' : 33,
'buildTools' : '28.0.3',
'androidPlugin' : '3.4.0',
androidx_app_compat : '1.0.2',
androidx_card_view : '1.0.0',
androidx_constraint_layout: '1.1.3',
androidx_lifecycle : '2.0.0',
androidx_test_ext : '1.1.0',
androidx_recycler_view : '1.0.0',
androidx_room : '2.0.0',
multidex : '2.0.1',
]
ext.deps = [
android: [
'runtime' : 'com.google.android:android:4.1.1.4',
'gradlePlugin': "com.android.tools.build:gradle:${versions.androidPlugin}",
]
]
}
repositories {
//FIXME: for sample app
google()
gradlePluginPortal()
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.38.0'
// FIXME: for sample app
classpath deps.android.gradlePlugin
}
}
plugins {
id 'com.android.application' version '7.2.2' apply false
id 'com.android.library' version '7.2.2' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}