This repository has been archived by the owner on May 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
88 lines (72 loc) · 2.44 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
80
81
82
83
84
85
86
87
88
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7'
}
}
allprojects {
repositories {
jcenter()
maven {
//for demo app
url "https://jitpack.io"
}
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
subprojects {
tasks.withType(Javadoc).all {
failOnError = false
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext.globalCfg = [
minSdkVersion: 19,
compileSdkVersion: 23,
buildToolsVersion: "23.0.2",
publishedVersion: "2.1.0",
publishedGroupId : 'com.taptrack.tcmptappy2',
]
ext.bintrayCfg = [
mavenInstallScript: rootProject.file('mavenInstaller.gradle'),
bintrayScript: rootProject.file('bintrayUpload.gradle'),
bintrayRepo : 'maven',
publishedArtifacts : [
basicNfcCommandFamily: [
bintrayName : 'commandfamily-basicnfc-2',
libraryName : 'Basic Nfc TCMP Command Family',
artifact : 'commandfamily-basicnfc',
libraryDescription : 'Command family for performing basic NFC operations',
],
],
siteUrl : 'https://github.com/TapTrack/BasicNfc-Command-Family',
gitUrl : 'https://github.com/TapTrack/BasicNfc-Command-Family.git',
developerId : "TapTrack",
developerName : "TapTrack",
developerEmail : "[email protected]",
licenseName : 'The Apache Software License, Version 2.0',
licenseUrl : "http://www.apache.org/licenses/LICENSE-2.0.txt",
allLicenses : ["Apache-2.0"],
]
ext.libraries = [
androidSupportAnnotations: "com.android.support:support-annotations:23.1.1",
// common libraries
tcmpCommandFamilyCommon : "com.taptrack.tcmptappy2:tcmp:2.0.0",
tcmpTappyConstants : "com.taptrack.tcmptappy:tappy-constants:0.8.1",
robolectric : "org.robolectric:robolectric:3.3",
junit : 'junit:junit:4.12',
]