-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
57 lines (47 loc) · 1.3 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
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
}
}
allprojects {
repositories {
mavenCentral()
google()
}
// tasks.withType(JavaCompile) {
// options.deprecation = true
// }
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 31
namespace "org.billthefarmer.gurgle"
defaultConfig {
applicationId "org.billthefarmer.gurgle"
minSdkVersion 22
targetSdkVersion 31
versionName "1.28"
versionCode 128
buildConfigField "long", "BUILT", System.currentTimeMillis() + "L"
}
lintOptions {
disable 'IconDensities', 'SetJavaScriptEnabled', 'OldTargetApi',
'NonConstantResourceId', 'ExpiredTargetSdkVersion',
'ClickableViewAccessibility', 'AndroidGradlePluginVersion'
// abortOnError false
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_9
targetCompatibility JavaVersion.VERSION_1_9
}
dependencies {
implementation 'com.google.zxing:core:3.5.3'
implementation 'nl.dionsegijn:konfetti-xml:2.0.4'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
}
}