This repository was archived by the owner on Aug 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathbuild.gradle
63 lines (55 loc) · 1.56 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
apply plugin: 'com.android.application'
buildscript {
repositories {
jcenter()
}
}
android {
// Please update the ".travis.yml" file "android.components" section
compileSdkVersion targetSdk
buildToolsVersion buildTools
defaultConfig {
applicationId "com.vimeo.sample"
minSdkVersion minSdk
targetSdkVersion targetSdk
versionCode 1
versionName "1.0"
javaCompileOptions {
annotationProcessorOptions {
arguments = [
stagGeneratedPackageName : 'com.vimeo.sample.stag.generated',
stagDebug : 'true',
stagAssumeHungarianNotation: 'true'
]
}
}
}
buildTypes {
debug {
testCoverageEnabled true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
testCoverageEnabled false
}
}
lintOptions {
abortOnError false
}
}
dependencies {
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation project(':stag-library')
annotationProcessor project(':stag-library-compiler')
implementation "com.google.code.gson:gson:$gsonVersion"
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs += [
"-Xlint:all,-deprecation,-serial,-processing",
"-Werror"
]
}
}