-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
16 changed files
with
2,739 additions
and
629 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,20 +26,17 @@ distributions { | |
} | ||
// end::distributions[] | ||
|
||
|
||
|
||
// tag::test[] | ||
test { | ||
useTestNG() { | ||
options { | ||
parallel="methods" | ||
parallel="classes" | ||
threadCount=5 | ||
} | ||
} | ||
} | ||
// end::test[] | ||
|
||
|
||
// tag::javadoc[] | ||
javadoc { | ||
title = project.description | ||
|
@@ -56,14 +53,6 @@ jacocoTestReport { | |
check.dependsOn jacocoTestReport | ||
// end::jacocoTestReport[] | ||
|
||
// tag::deps[] | ||
task deps(type: Sync) { | ||
description = "Copies all dependencies into core/build/deps/." | ||
from configurations.runtime | ||
into "${buildDir}/deps" | ||
} | ||
// end::deps[] | ||
|
||
// tag::javadocJar[] | ||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
classifier = 'javadoc' | ||
|
@@ -83,49 +72,3 @@ artifacts { | |
archives javadocJar | ||
archives sourcesJar | ||
} | ||
|
||
signing { | ||
sign configurations.archives | ||
} | ||
|
||
if (project.hasProperty('sonatypeUsername')) { | ||
uploadArchives { | ||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
|
||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { | ||
authentication(userName: sonatypeUsername, password: sonatypePassword) | ||
} | ||
|
||
pom.project { | ||
name 'Mines Java Toolkit' | ||
packaging 'jar' | ||
description 'Java packages for science and engineering' | ||
url 'https://github.com/MinesJTK/jtk/' | ||
|
||
scm { | ||
url 'scm:[email protected]/MinesJTK/jtk.git' | ||
connection 'scm:[email protected]/MinesJTK/jtk.git' | ||
developerConnection 'scm:[email protected]/MinesJTK/jtk.git' | ||
} | ||
|
||
licenses { | ||
license { | ||
name 'The Apache Software License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
distribution 'repo' | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
id 'dhale' | ||
name 'Dave Hale' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.