-
Notifications
You must be signed in to change notification settings - Fork 52
/
build.gradle
56 lines (52 loc) · 2.03 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'com.github.ben-manes.versions'
ext {
// https://developer.android.com/jetpack/androidx/releases/recyclerview
recyclerviewVersion = '1.3.2'
// https://developer.android.com/jetpack/androidx/releases/preference
preferenceVersion = '1.2.1'
// https://github.com/material-components/material-components-android/releases
// 1.10+: compileSdkVersion 34
materialVersion = '1.9.0'
// https://developer.android.com/jetpack/androidx/releases/lifecycle
lifecycleVersion = '2.6.2'
// https://developer.android.com/jetpack/androidx/releases/leanback
// 1.2.0-alpha03+: compileSdkVersion 34
leanbackVersion = '1.2.0-alpha02'
// https://developer.android.com/jetpack/androidx/releases/appcompat
// 1.7.0-alpha03+: compileSdkVersion 34
appcompatVersion = '1.6.1'
// https://developer.android.com/jetpack/androidx/releases/annotation
annotationVersion = '1.7.0'
// https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md
desugarVersion = '2.0.4'
}
buildscript {
ext.kotlin_version = '1.9.20'
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.5.2'
// https://github.com/KeepSafe/dexcount-gradle-plugin
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:4.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"
// https://github.com/ben-manes/gradle-versions-plugin
classpath "com.github.ben-manes:gradle-versions-plugin:0.50.0"
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' } // for AwesomeQRCode
}
project.ext {
// My test v15 device crashes (probably material related/HW acceleration), so I've given up on ICS
minSdkVersion = 16
targetSdkVersion = 33
compileSdkVersion = 33
}
}