-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
69 lines (58 loc) · 1.66 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.6.1'
}
}
apply plugin: 'checkstyle'
apply plugin: 'java'
apply plugin: 'nexus'
group = 'com.maginatics'
version = '0.4.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
compile 'com.squareup.retrofit:retrofit:1.3.0'
compile 'org.slf4j:slf4j-api:1.7.5'
compile 'ch.qos.logback:logback-classic:1.0.13'
testCompile 'junit:junit:4.11'
testCompile 'org.assertj:assertj-core:1.5.0'
}
test {
if (project.hasProperty('bitlyAccessToken')) {
systemProperty('urlshortener.bitlyAccessToken', bitlyAccessToken)
}
if (project.hasProperty('googleApiKey')) {
systemProperty('urlshortener.googleApiKey', googleApiKey)
}
}
modifyPom {
project {
name 'urlshortener'
description 'Java library for URL shortening services'
url 'https://github.com/maginatics/urlshortener'
inceptionYear '2013'
scm {
url 'https://github.com/maginatics/urlshortener'
connection 'scm:https://github.com/maginatics/urlshortener'
developerConnection 'scm:[email protected]:maginatics/urlshortener.git'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
developers {
developer {
id 'diwakergupta'
name 'Diwaker Gupta'
email '[email protected]'
}
}
}
}