-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ccaf15
commit 90adf33
Showing
2 changed files
with
72 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
plugins { | ||
kotlin("jvm") version "1.8.0" | ||
`maven-publish` | ||
} | ||
|
||
group = "org.veupathdb.lib" | ||
version = "1.0.0" | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
java { | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
|
||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
|
||
kotlin { | ||
jvmToolchain(18) | ||
jvmToolchain(8) | ||
} | ||
|
||
dependencies { | ||
|
@@ -22,4 +34,60 @@ dependencies { | |
|
||
tasks.test { | ||
useJUnitPlatform() | ||
} | ||
} | ||
|
||
tasks.named<Test>("test") { | ||
useJUnitPlatform() | ||
testLogging { | ||
events.addAll(listOf(org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED, | ||
org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED, | ||
org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_OUT, | ||
org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_ERROR, | ||
org.gradle.api.tasks.testing.logging.TestLogEvent.PASSED)) | ||
|
||
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL | ||
showExceptions = true | ||
showCauses = true | ||
showStackTraces = true | ||
showStandardStreams = true | ||
enableAssertions = true | ||
} | ||
} | ||
|
||
publishing { | ||
repositories { | ||
maven { | ||
name = "GitHub" | ||
url = uri("https://maven.pkg.github.com/veupathdb/maven-packages") | ||
credentials { | ||
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME") | ||
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN") | ||
} | ||
} | ||
} | ||
|
||
publications { | ||
create<MavenPublication>("gpr") { | ||
from(components["java"]) | ||
pom { | ||
name.set("LDAP Utils") | ||
description.set("Provides utilities for looking up LDAP records.") | ||
url.set("https://github.com/VEuPathDB/lib-ldap-util") | ||
developers { | ||
developer { | ||
id.set("epharper") | ||
name.set("Elizabeth Paige Harper") | ||
email.set("[email protected]") | ||
url.set("https://github.com/foxcapades") | ||
organization.set("VEuPathDB") | ||
} | ||
} | ||
scm { | ||
connection.set("scm:git:git://github.com/VEuPathDB/lib-ldap-util.git") | ||
developerConnection.set("scm:git:ssh://github.com/VEuPathDB/lib-ldap-util.git") | ||
url.set("https://github.com/VEuPathDB/lib-ldap-util") | ||
} | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
= LDAP Utils | ||
|
||
Utilities for working with LDAP from VEuPathDB containerized services. | ||
Utilities for working with LDAP from VEuPathDB containerized services. | ||
|