mirror of
https://github.com/gbevin/urlencoder.git
synced 2025-04-25 15:27:11 -07:00
Updated to released RIFE2 1.5.18
This commit is contained in:
parent
35bf94f2f5
commit
1ea5b17101
5 changed files with 39 additions and 43 deletions
|
@ -20,41 +20,46 @@ public class UrlEncoderBuild extends Project {
|
|||
pkg = "com.uwyn.urlencoder";
|
||||
name = "UrlEncoder";
|
||||
mainClass = "com.uwyn.urlencoder.UrlEncoder";
|
||||
version = version(1,3,2);
|
||||
|
||||
publishRepository = version.isSnapshot() ? repository("sonatype-snapshots") : repository("sonatype-releases");
|
||||
publishInfo = new PublishInfo()
|
||||
.groupId("com.uwyn")
|
||||
.artifactId("urlencoder")
|
||||
.description("A simple defensive library to encode/decode URL components.")
|
||||
.url("https://github.com/rife2/tests-badge")
|
||||
.developer(new PublishDeveloper()
|
||||
.id("gbevin")
|
||||
.name("Geert Bevin")
|
||||
.email("gbevin@uwyn.com")
|
||||
.url("https://github.com/gbevin"))
|
||||
.developer(new PublishDeveloper()
|
||||
.id("ethauvin")
|
||||
.name("Erik C. Thauvin")
|
||||
.email("erik@thauvin.net")
|
||||
.url("https://erik.thauvin.net/"))
|
||||
.license(new PublishLicense()
|
||||
.name("The Apache License, Version 2.0")
|
||||
.url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
|
||||
.scm(new PublishScm()
|
||||
.connection("scm:git:https://github.com/gbevin/urlencoder.git")
|
||||
.developerConnection("scm:git:git@github.com:gbevin/urlencoder.git")
|
||||
.url("https://github.com/gbevin/urlencoder"))
|
||||
.signKey(property("sign.key"))
|
||||
.signPassphrase(property("sign.passphrase"));
|
||||
version = version(1,3,3);
|
||||
|
||||
javaRelease = 11;
|
||||
downloadSources = true;
|
||||
autoDownloadPurge = true;
|
||||
repositories = List.of(MAVEN_CENTRAL, RIFE2);
|
||||
|
||||
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
|
||||
scope(test)
|
||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5,9,2)))
|
||||
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1,9,2)));
|
||||
|
||||
jarOperation()
|
||||
.manifestAttribute(Attributes.Name.MAIN_CLASS, mainClass());
|
||||
|
||||
publishOperation()
|
||||
.repository(version.isSnapshot() ? repository("sonatype-snapshots") : repository("sonatype-releases"))
|
||||
.info()
|
||||
.groupId("com.uwyn")
|
||||
.artifactId("urlencoder")
|
||||
.description("A simple defensive library to encode/decode URL components.")
|
||||
.url("https://github.com/rife2/tests-badge")
|
||||
.developer(new PublishDeveloper()
|
||||
.id("gbevin")
|
||||
.name("Geert Bevin")
|
||||
.email("gbevin@uwyn.com")
|
||||
.url("https://github.com/gbevin"))
|
||||
.developer(new PublishDeveloper()
|
||||
.id("ethauvin")
|
||||
.name("Erik C. Thauvin")
|
||||
.email("erik@thauvin.net")
|
||||
.url("https://erik.thauvin.net/"))
|
||||
.license(new PublishLicense()
|
||||
.name("The Apache License, Version 2.0")
|
||||
.url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
|
||||
.scm(new PublishScm()
|
||||
.connection("scm:git:https://github.com/gbevin/urlencoder.git")
|
||||
.developerConnection("scm:git:git@github.com:gbevin/urlencoder.git")
|
||||
.url("https://github.com/gbevin/urlencoder"))
|
||||
.signKey(property("sign.key"))
|
||||
.signPassphrase(property("sign.passphrase"));
|
||||
}
|
||||
|
||||
private final TestsBadgeOperation testsBadgeOperation = new TestsBadgeOperation();
|
||||
|
@ -66,15 +71,6 @@ public class UrlEncoderBuild extends Project {
|
|||
.fromProject(this));
|
||||
}
|
||||
|
||||
private final JarOperation jarOperation = new JarOperation();
|
||||
public void jar()
|
||||
throws Exception {
|
||||
compile();
|
||||
jarOperation.executeOnce(() -> jarOperation
|
||||
.fromProject(this)
|
||||
.manifestAttributes(Map.of(Attributes.Name.MAIN_CLASS, mainClass())));
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new UrlEncoderBuild().start(args);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue