forked from bwaldvogel/liblinear-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
93 lines (76 loc) · 2.04 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'nexus'
version = '1.95'
sourceCompatibility = 1.6
compileJava.options.encoding = 'UTF-8'
ext {
title = 'liblinear'
description = 'Java port of Liblinear'
url = 'https://www.github.com/bwaldvogel/liblinear'
}
jar {
manifest {
attributes 'Implementation-Title': title, 'Implementation-Version': version
}
}
// https://github.com/bmuschko/gradle-nexus-plugin
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1'
}
}
ext {
powermockVersion = '1.6.1'
}
modifyPom {
project {
groupId 'de.bwaldvogel'
artifactId 'liblinear'
name title
description description
url url
inceptionYear '2008'
scm {
url '[email protected]:bwaldvogel/liblinear.git'
connection 'scm:git:[email protected]:bwaldvogel/liblinear.git'
developerConnection 'scm:git:[email protected]:bwaldvogel/liblinear.git'
}
licenses {
license {
name 'The BSD License'
url 'http://www.opensource.org/licenses/bsd-license.php'
distribution 'repo'
}
}
developers {
developer {
id 'bwaldvogel'
name 'Benedikt Waldvogel'
email '[email protected]'
}
}
}
}
nexus {
attachSources = true
attachTests = false
attachJavadoc = true
sign = true
}
repositories {
mavenCentral()
}
task wrapper(type: Wrapper) {
gradleVersion = '2.5'
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.easytesting', name: 'fest-assert', version: '1.4'
testCompile group: 'org.powermock', name: 'powermock-module-junit4', version: powermockVersion
testCompile group: 'org.powermock', name: 'powermock-api-mockito', version: powermockVersion
}
// vim: set ts=4 sw=4 et: