mirror of
https://github.com/rife2/bld
synced 2025-12-20 16:48:38 +01:00
Regression fix to version handling
This commit is contained in:
parent
98e9035c5e
commit
0f65e1d232
|
|
@ -57,7 +57,7 @@ public class BaseProject extends BuildExecutor {
|
||||||
* @see #version()
|
* @see #version()
|
||||||
* @since 1.5
|
* @since 1.5
|
||||||
*/
|
*/
|
||||||
protected VersionNumber version = null;
|
protected Version version = null;
|
||||||
/**
|
/**
|
||||||
* The project's main class.
|
* The project's main class.
|
||||||
*
|
*
|
||||||
|
|
@ -1203,7 +1203,7 @@ public class BaseProject extends BuildExecutor {
|
||||||
*
|
*
|
||||||
* @since 1.5
|
* @since 1.5
|
||||||
*/
|
*/
|
||||||
public VersionNumber version() {
|
public Version version() {
|
||||||
if (version == null) {
|
if (version == null) {
|
||||||
throw new IllegalStateException("The version variable has to be set.");
|
throw new IllegalStateException("The version variable has to be set.");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue