-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
75 lines (66 loc) · 1.84 KB
/
build.gradle
File metadata and controls
75 lines (66 loc) · 1.84 KB
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
plugins {
id 'java-library'
id 'maven-publish'
id "com.github.spotbugs" version "4.6.0"
}
group = 'gr.james'
version = '0.16'
sourceCompatibility = 1.6
repositories {
mavenCentral()
}
java {
withJavadocJar()
withSourcesJar()
}
spotbugs {
spotbugsTest.enabled = false
effort = "max"
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
pom {
name = 'Simple Graph'
description = 'Simple Graph is a graph interface for Java 6 that is designed to expose a very simple API to support working with graphs'
url = 'https://github.com/gstamatelat/simple-graph'
licenses {
license {
name = 'The MIT License'
url = 'https://opensource.org/licenses/MIT'
}
}
developers {
developer {
id = 'gstamatelat'
name = 'Giorgos Stamatelatos'
email = 'gstamatelat@gmail.com'
}
}
scm {
connection = 'scm:git:https://github.com/gstamatelat/simple-graph.git'
developerConnection = 'scm:git:git@github.com:gstamatelat/simple-graph.git'
url = 'https://github.com/gstamatelat/simple-graph'
}
}
}
}
repositories {
maven {
url = uri("${buildDir}/publishing-repository")
}
}
}
wrapper {
gradleVersion = '6.5.1'
}
javadoc {
doLast {
new File(destinationDir, 'stylesheet.css').append(file('src/javadoc/stylesheet.css').text)
}
options.header('simple-graph ' + version)
}
dependencies {
testImplementation 'junit:junit:4.12'
}