-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
97 lines (88 loc) · 2.88 KB
/
build.gradle
File metadata and controls
97 lines (88 loc) · 2.88 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
plugins {
id 'java-library'
id 'io.freefair.lombok' version '5.1.0'
id 'jacoco'
id 'maven-publish'
}
group 'de.lukaskoerfer'
version '1.0.0'
description 'Simple JVM implementation of the Petri Net Markup Language (PNML), limited to Place-Transition-(PT)-Nets'
repositories {
jcenter()
}
dependencies {
implementation 'javax.xml.bind:jaxb-api:2.3.1'
testImplementation 'org.glassfish.jaxb:jaxb-runtime:2.3.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
testImplementation 'org.jeasy:easy-random-core:4.2.0'
testImplementation 'org.xmlunit:xmlunit-core:2.7.0'
testImplementation 'com.thaiopensource:jing:20091111'
}
java {
withSourcesJar()
withJavadocJar()
lombok.version = '1.18.12'
generateLombokConfig.enabled = false
}
test {
useJUnitPlatform()
}
jacocoTestReport {
dependsOn test
reports*.enabled true
}
javadoc {
options.links 'https://docs.oracle.com/en/java/javase/11/docs/api'
options.addStringOption 'Xdoclint:none', '-quiet'
options.addBooleanOption 'html5', true
}
publishing {
repositories {
maven {
name 'bintray'
url "https://api.bintray.com/maven/lukoerfer/maven-release-remote/${project.group}/;publish=1"
credentials {
username = System.getenv('BINTRAY_USER')
password = System.getenv('BINTRAY_API_KEY')
}
}
maven {
name = 'github'
url 'https://maven.pkg.github.com/lukoerfer/simple-pnml-jvm'
credentials {
username = System.getenv('GITHUB_USER')
password = System.getenv('GITHUB_TOKEN')
}
}
}
publications {
library(MavenPublication) {
from components.java
pom {
name = project.name
description = project.description
url = 'https://github.com/lukoerfer/simple-pnml-java'
licenses {
license {
name = 'MIT license'
url = 'https://github.com/lukoerfer/simple-pnml-java/blob/master/LICENSE'
}
}
developers {
developer {
id = 'lukoerfer'
name = 'Lukas Körfer'
email = 'lu.koerfer@googlemail.com'
}
}
scm {
connection = 'scm:git:git://github.com/lukoerfer/simple-pnml-java.git'
developerConnection = 'scm:git:ssh://github.com:lukoerfer/simple-pnml-java.git'
url = 'https://github.com/lukoerfer/simple-pnml-java'
}
}
}
}
}