Version 0.9.0

This commit is contained in:
Erik C. Thauvin 2023-05-09 11:24:52 -07:00
parent 09d95118c6
commit 736c99bc1a
12 changed files with 31 additions and 20 deletions

View file

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

View file

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

View file

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

View file

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

Binary file not shown.

View file

@ -1,6 +1,6 @@
bld.downloadExtensionJavadoc=false bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true bld.downloadExtensionSources=true
bld.extensions=com.uwyn.rife2:bld-generated-version:0.9.0-SNAPSHOT bld.extensions=com.uwyn.rife2:bld-generated-version:0.9.0
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2,RIFE2_SNAPSHOTS bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2,RIFE2_SNAPSHOTS
rife2.downloadLocation= rife2.downloadLocation=
rife2.version=1.6.1 rife2.version=1.6.3

View file

@ -21,8 +21,8 @@ public class SampleBuild extends Project {
downloadSources = true; downloadSources = true;
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
scope(test) scope(test)
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 2))) .include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 3)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 2))); .include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 3)));
} }
public static void main(String[] args) { public static void main(String[] args) {

View file

@ -1,17 +1,28 @@
/*
* This file is automatically generated.
* Do not modify! -- ALL CHANGES WILL BE ERASED!
*/
package com.example; package com.example;
import java.util.Date; import java.util.Date;
/**
* Provides project version information.
*/
public final class GeneratedVersion { public final class GeneratedVersion {
public static final String PROJECT = "My App"; public static final String PROJECT = "Sample";
public static final Date BUILD_DATE = new Date(1682802935888L); public static final Date BUILD_DATE = new Date(1682911078983L);
public static final int MAJOR = 1; public static final int MAJOR = 1;
public static final int MINOR = 0; public static final int MINOR = 0;
public static final int REVISION = 1; public static final int REVISION = 1;
public static final String QUALIFIER = "rc1"; public static final String QUALIFIER = "rc1";
public static final String VERSION = "1.0.1-rc1"; public static final String VERSION = "1.0.1-rc1";
/**
* Disables the default constructor.
*/
private GeneratedVersion() { private GeneratedVersion() {
// no-op throw new UnsupportedOperationException("Illegal constructor call.");
} }
} }

Binary file not shown.

View file

@ -3,4 +3,4 @@ bld.downloadExtensionSources=true
bld.extension-pmd=com.uwyn.rife2:bld-pmd:0.9.1-SNAPSHOT bld.extension-pmd=com.uwyn.rife2:bld-pmd:0.9.1-SNAPSHOT
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
rife2.downloadLocation= rife2.downloadLocation=
rife2.version=1.6.1 rife2.version=1.6.3

View file

@ -18,7 +18,7 @@ public class GeneratedVersionOperationBuild extends Project {
public GeneratedVersionOperationBuild() { public GeneratedVersionOperationBuild() {
pkg = "rife.bld.extension"; pkg = "rife.bld.extension";
name = "GeneratedVersionOperation"; name = "GeneratedVersionOperation";
version = version(0, 9, 0, "SNAPSHOT"); version = version(0, 9, 0);
javaRelease = 17; javaRelease = 17;
downloadSources = true; downloadSources = true;
@ -26,10 +26,10 @@ public class GeneratedVersionOperationBuild extends Project {
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
scope(compile) scope(compile)
.include(dependency("com.uwyn.rife2", "rife2", version(1, 5, 22))); .include(dependency("com.uwyn.rife2", "rife2", version(1, 6, 3)));
scope(test) scope(test)
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 2))) .include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 3)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 2))) .include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 3)))
.include(dependency("org.assertj:assertj-joda-time:2.2.0")); .include(dependency("org.assertj:assertj-joda-time:2.2.0"));
precompileOperation() precompileOperation()

View file

@ -175,7 +175,7 @@ public class GeneratedVersionOperation extends AbstractOperation<GeneratedVersio
} }
/** /**
* Sets the project name. * Configure the operation from a {@link BaseProject}.
*/ */
public GeneratedVersionOperation fromProject(BaseProject project) { public GeneratedVersionOperation fromProject(BaseProject project) {
generatedVersion.setProject(project); generatedVersion.setProject(project);