mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-25 16:27:11 -07:00
Regression fix to version handling
This commit is contained in:
parent
98e9035c5e
commit
0f65e1d232
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ public class BaseProject extends BuildExecutor {
|
|||
* @see #version()
|
||||
* @since 1.5
|
||||
*/
|
||||
protected VersionNumber version = null;
|
||||
protected Version version = null;
|
||||
/**
|
||||
* The project's main class.
|
||||
*
|
||||
|
@ -1203,7 +1203,7 @@ public class BaseProject extends BuildExecutor {
|
|||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public VersionNumber version() {
|
||||
public Version version() {
|
||||
if (version == null) {
|
||||
throw new IllegalStateException("The version variable has to be set.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue