forked from uPhyca/stetho-realm
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
65 lines (56 loc) · 1.65 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.5.0'
}
}
//noinspection GroovyAssignabilityCheck
apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
android {
compileSdkVersion 26
buildToolsVersion "26.0.3"
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 1002
versionName "2.2.1"
consumerProguardFiles 'proguard-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
encoding = "UTF-8"
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
lintOptions {
abortOnError false
}
}
dependencies {
provided 'com.facebook.stetho:stetho:1.5.0'
provided 'io.realm:realm-android-library:4.3.4'
compile fileTree(dir: 'libs', include: '*.jar')
}
//noinspection GroovyAssignabilityCheck
apply plugin: 'maven-publish'
//noinspection GroovyAssignabilityCheck
apply from: '../deploy.gradle'
//./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false
publish {
userOrg = 'uphyca'
groupId = 'com.uphyca'
artifactId = 'stetho_realm'
version = '2.2.1'
description = 'Stetho-Realm is a Realm module for Stetho.'
website = 'https://github.com/uPhyca/stetho-realm'
issueTracker = 'https://github.com/uPhyca/stetho-realm/issues'
repository = 'https://github.com/uPhyca/stetho-realm.git'
}