-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle
executable file
·81 lines (69 loc) · 2.11 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
buildscript {
repositories {
google()
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.36.0'
classpath 'com.vanniktech:gradle-android-javadoc-plugin:0.3.0'
}
}
repositories {
google()
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
apply plugin: 'com.vanniktech.android.javadoc'
apply plugin: 'com.android.application'
apply plugin: 'com.github.ben-manes.versions'
dependencies {
implementation 'com.intellij:annotations:12.0'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'joda-time:joda-time:2.10.8'
implementation 'com.android.volley:volley:1.1.1'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'org.apache.commons:commons-text:1.9'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
implementation 'androidx.preference:preference:1.1.1'
}
android {
compileSdkVersion 29
buildTypes {
release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-android.pro'
minifyEnabled true
shrinkResources true
}
}
defaultConfig {
minSdkVersion 14
targetSdkVersion 29
versionName "4.7"
versionCode 40
applicationId "com.mareksebera.simpledilbert"
}
lintOptions {
warningsAsErrors false
abortOnError false
ignore 'InvalidPackage', 'RtlHardcoded', 'UnusedAttribute'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}