Newer
Older
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.5/userguide/tutorial_java_projects.html
*/
plugins {
id 'java'
id 'java-library'
implementation 'net.kieker-monitoring:kieker:1.15-SNAPSHOT'
java {
srcDirs= [ 'src/main/java', 'src/gen/java' ]
}
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
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'org.oceandsl'
artifactId = 'common'
version = '1.1'
pom {
name = 'OceanDSL Common'
description = 'Common facilities of the OceanDSL tool chain'
url = 'http://oceandsl.uni-kiel.de'
// properties = [
// myProp: "value",
// "prop.with.dots": "anotherValue"
// ]
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'rju'
name = 'Reiner Jung'
email = 'reiner.jung@email.uni-kiel.de'
}
}
scm {
connection = 'scm:git:https://git.se.informatik.uni-kiel.de/oceandsl/oceandsl-java-tools.git'
developerConnection = 'scm:git:gitlab@git.se.informatik.uni-kiel.de:oceandsl/oceandsl-java-tools.git'
url = 'https://git.se.informatik.uni-kiel.de/oceandsl/oceandsl-java-tools/'
}
}
}
}
repositories {
maven {
// change URLs to point to your repos, e.g. http://my.org/repo
def releasesRepoUrl = layout.buildDirectory.dir('repos/releases')
def snapshotsRepoUrl = layout.buildDirectory.dir('repos/snapshots')
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
}
}
}
signing {
sign publishing.publications.mavenJava
}
//javadoc {
// if(JavaVersion.current().isJava9Compatible()) {
// options.addBooleanOption('html5', true)
// }
//}