Skip to content

Commit 4a872aa

Browse files
committed
Prepare for publishing.
1 parent 4381608 commit 4a872aa

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ task testMatlabInteractive(type: Test) {
4848
includeCategories 'matlabcontrol.MatlabRequired$Interactive'
4949
}
5050
}
51-
task testMatlabAll(dependsOn: [test, testMatlabHeadless, testMatlabInteractive])
51+
task testMatlabAll(dependsOn: [
52+
test,
53+
testMatlabHeadless,
54+
testMatlabInteractive
55+
])
5256

5357
////////////
5458
// JAVA 6 //
@@ -118,7 +122,7 @@ task sourcesJar(type: Jar) {
118122
// Thus, no javadoc warnings.
119123
def makeLink = { url, text -> "<a href=\"${url}\" style=\"text-transform: none;\">${text}</a>" }
120124
def javadocInfo = '<h2>' + makeLink("https://github.com/${org}/${name}", "${group}:${name}:${version}") +
121-
' by ' + makeLink('http://www.diffplug.com', 'DiffPlug') + '</h2>'
125+
' by ' + makeLink('http://www.diffplug.com', 'DiffPlug') + '</h2>'
122126
javadoc {
123127
options.addStringOption('Xdoclint:none', '-quiet')
124128
options.header javadocInfo
@@ -130,3 +134,7 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
130134
classifier = 'javadoc'
131135
from javadoc.destinationDir
132136
}
137+
138+
// it all needs to get published and formatted
139+
apply from: 干.file('base/maven.gradle')
140+
apply from: 干.file('base/sonatype.gradle')

gradle.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ group=com.diffplug.matsim
55
description=MatConsoleCtl - control MATLAB from Java
66
org=diffplug
77

8+
git_url=github.com/diffplug/matconsolectl
9+
maven_group=com.diffplug.matsim
10+
maven_name=matconsolectl
11+
maven_desc=MatConsoleCtl - control MATLAB from Java
12+
javadoc_links=
13+
814
license=matconsolectl
915

1016
# Build requirements

0 commit comments

Comments
 (0)