-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from cryptography-cafe/release-0.1
Release 0.1.0
- Loading branch information
Showing
3 changed files
with
90 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ tasks.jar { | |
} | ||
|
||
group = "cafe.cryptography" | ||
version = "0.0.0" | ||
version = "0.1.0" | ||
|
||
tasks.register<Jar>("sourcesJar") { | ||
from(sourceSets.main.get().allJava) | ||
|
@@ -72,6 +72,43 @@ publishing { | |
from(components["java"]) | ||
artifact(tasks["sourcesJar"]) | ||
artifact(tasks["javadocJar"]) | ||
|
||
pom { | ||
name.set("curve25519-elisabeth") | ||
description.set("Pure Java implementation of group operations on Curve25519") | ||
url.set("https://cryptography.cafe") | ||
licenses { | ||
license { | ||
name.set("MIT License") | ||
url.set("https://opensource.org/licenses/MIT") | ||
} | ||
} | ||
developers { | ||
developer { | ||
id.set("str4d") | ||
name.set("Jack Grigg") | ||
email.set("[email protected]") | ||
} | ||
} | ||
scm { | ||
connection.set("scm:git:git://github.com/cryptography-cafe/curve25519-elisabeth.git") | ||
developerConnection.set("scm:git:ssh://github.com:cryptography-cafe/curve25519-elisabeth.git") | ||
url.set("https://github.com/cryptography-cafe/curve25519-elisabeth/tree/master") | ||
} | ||
} | ||
} | ||
} | ||
repositories { | ||
maven { | ||
val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" | ||
val snapshotRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/" | ||
url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotRepoUrl else releasesRepoUrl) | ||
credentials { | ||
val NEXUS_USERNAME: String? by project | ||
val NEXUS_PASSWORD: String? by project | ||
username = NEXUS_USERNAME ?: "" | ||
password = NEXUS_PASSWORD ?: "" | ||
} | ||
} | ||
} | ||
} | ||
|
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