forked from bwaldvogel/liblinear-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
99 lines (82 loc) · 2.27 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'nexus'
apply plugin: 'org.standardout.versioneye'
version = '2.11'
sourceCompatibility = 1.7
targetCompatibility = 1.7
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'
classpath 'org.standardout:gradle-versioneye-plugin:1.2.0'
}
}
ext {
junitVersion = '4.12'
assertjVersion = '2.6.0'
powermockVersion = '1.6.5'
}
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 = '4.0'
distributionType = "ALL"
}
dependencies {
testCompile group: 'junit', name: 'junit', version: junitVersion
testCompile group: 'org.assertj', name: 'assertj-core', version: assertjVersion
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: