Updated to released RIFE2 1.5.18

This commit is contained in:
Geert Bevin 2023-04-08 10:12:29 -04:00
parent 35bf94f2f5
commit 1ea5b17101
5 changed files with 39 additions and 43 deletions

View file

@ -2,11 +2,11 @@
<library name="bld">
<CLASSES>
<root url="file://$PROJECT_DIR$/lib/bld" />
<root url="jar://$USER_HOME$/.rife2/dist/rife2-1.5.17.jar!/" />
<root url="jar://$USER_HOME$/.rife2/dist/rife2-1.5.18.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.rife2/dist/rife2-1.5.17-sources.jar!/" />
<root url="jar://$USER_HOME$/.rife2/dist/rife2-1.5.18-sources.jar!/" />
</SOURCES>
<excluded>
<root url="jar://$PROJECT_DIR$/lib/bld/bld-wrapper.jar!/" />

View file

@ -7,7 +7,7 @@
],
"java.configuration.updateBuildConfiguration": "automatic",
"java.project.referencedLibraries": [
"${HOME}/.rife2/dist/rife2-1.5.17.jar",
"${HOME}/.rife2/dist/rife2-1.5.18.jar",
"lib/bld/*.jar",
"lib/compile/*.jar",
"lib/runtime/*.jar",

Binary file not shown.

View file

@ -1,6 +1,6 @@
bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true
bld.extensions=com.uwyn.rife2:bld-tests-badge:0.9.4
bld.repositories=MAVEN_CENTRAL,RIFE2
bld.extensions=com.uwyn.rife2:bld-tests-badge:1.0.0
bld.repositories=MAVEN_CENTRAL,RIFE2_RELEASES
rife2.downloadLocation=
rife2.version=1.5.17
rife2.version=1.5.18

View file

@ -20,10 +20,23 @@ public class UrlEncoderBuild extends Project {
pkg = "com.uwyn.urlencoder";
name = "UrlEncoder";
mainClass = "com.uwyn.urlencoder.UrlEncoder";
version = version(1,3,2);
version = version(1,3,3);
publishRepository = version.isSnapshot() ? repository("sonatype-snapshots") : repository("sonatype-releases");
publishInfo = new PublishInfo()
javaRelease = 11;
downloadSources = true;
autoDownloadPurge = true;
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.")
@ -47,14 +60,6 @@ public class UrlEncoderBuild extends Project {
.url("https://github.com/gbevin/urlencoder"))
.signKey(property("sign.key"))
.signPassphrase(property("sign.passphrase"));
javaRelease = 11;
downloadSources = true;
autoDownloadPurge = true;
repositories = List.of(MAVEN_CENTRAL, RIFE2);
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)));
}
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);
}