forked from tonyofrancis/Fetch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
77 lines (61 loc) · 1.97 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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
//apply plugin: 'com.novoda.bintray-release'
buildscript {
apply from: '../versions.gradle'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_tools_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// classpath "com.novoda:bintray-release:$novoda_bintray_version"
}
}
android {
compileSdkVersion library_compile_version
defaultConfig {
minSdkVersion library_min_version
targetSdkVersion library_target_version
versionCode library_version_code
versionName library_version
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
androidTest.java.srcDirs += 'src/androidTest/kotlin'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testImplementation "junit:junit:$junit_version"
androidTestImplementation "com.android.support.test:runner:$test_runner_version"
androidTestImplementation "com.android.support.test.espresso:espresso-core:$espresso_version"
}
//publish {
// userOrg = 'tonyofrancis'
// groupId = 'com.tonyodev.fetch2core'
// artifactId = 'fetch2core'
// publishVersion = library_version
// desc = 'Fetch Core Library'
// website = 'https://github.com/tonyofrancis/fetch'
//}
tasks.withType(Javadoc).all {
enabled = false
}