forked from Nevolution/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (41 loc) · 1.5 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
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
repositories {
google()
jcenter()
}
apply plugin: 'com.android.library'
version = "1.2.0"
group = "com.oasisfeng.nevo"
if (file('deploy.gradle').exists()) apply from: 'deploy.gradle'
android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 14 // Should be 23, but just keep it low to avoid imposing "tools:overrideLibrary" in dependent project.
targetSdkVersion 27 // only used by androidTest build
}
buildTypes {
debug { resValue("string", "nevo_sdk_version", "${version}") }
release { resValue("string", "nevo_sdk_version", "${version}") }
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig.testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
lintOptions.abortOnError false
}
dependencies {
//noinspection GradleDependency
implementation 'com.android.support:support-annotations:25.3.1' // The latest version of support libraries in local SDK repo, for developer convenience.
androidTestImplementation('com.android.support.test:runner:0.5') { exclude group: 'com.android.support', module: 'support-annotations' }
}