-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle
executable file
·105 lines (98 loc) · 2.36 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin : 'idea'
apply plugin: 'maven'
apply plugin: 'signing'
sourceCompatibility = 1.8
group ="in.ankushs"
version = '2.0'
jar {
baseName = "Java-DB-IP"
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.projectlombok', name: 'lombok', version: '1.16.20'
compile('com.google.guava:guava:19.0')
compile('ch.qos.logback:logback-classic:1.1.4')
compile('ch.qos.logback:logback-core:1.1.4')
compile('org.slf4j:slf4j-api:1.7.18')
testCompile('org.spockframework:spock-core:1.0-groovy-2.4')
testCompile('org.codehaus.groovy:groovy-all:2.4.5')
}
//
//
//task javadocJar(type: Jar) {
// classifier = 'javadoc'
// from javadoc
//}
//
//task sourcesJar(type: Jar) {
// classifier = 'sources'
// from sourceSets.main.allSource
//}
//
//artifacts {
// archives javadocJar, sourcesJar
//}
//
//signing {
// sign configurations.archives
//}
//
//
//uploadArchives {
// repositories {
// mavenDeployer{
// beforeDeployment{MavenDeployment deployment->
// signing.signPom(deployment)
// }
//
// repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2") {
// authentication(userName: ossrhUsername, password: ossrhPassword)
// }
//
// pom{
// project{
// name 'Java-DbIP'
// description 'A Java library for the DB-IP free city dataset '
// packaging 'jar'
// url 'https://github.com/ankushs92/Java-DB-IP'
// inceptionYear '2016'
//
// scm {
// connection 'scm:git:git@github.com:ankushs92/Java-DB-IP.git'
// developerConnection 'scm:git:git@github.com:ankushs92/Java-DB-IP.git'
// url 'git@github.com:ankushs92/Java-DB-IP.git'
// }
//
// licenses {
// license {
// name 'The MIT License'
// url 'https://github.com/ankushs92/Java-DB-IP/blob/master/LICENSE.md'
// }
// }
// developers {
// developer {
// name 'Ankush Sharma'
// email 'ankush20058@gmail.com'
// }
// }
// issueManagement{
// system 'Github'
// url 'https://github.com/ankushs92/Java-DB-IP/issues'
//
// }
// }
// }
// flatDir {
// dirs 'repos'
// }
// }
// }
//}