Skip to content

Commit 67150bb

Browse files
committed
a more flexible Syntax for minimumUpdateVersion
1 parent 2460be9 commit 67150bb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/com/inet/gradle/setup/SetupBuilder.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,15 @@ public String getMinimumUpdateMessage() {
298298
return minUpdateMessage;
299299
}
300300

301+
/**
302+
* Set the oldest version which will be updated. If an already installed version is older then the update will be cancel.
303+
* A default error message is used.
304+
* @param version the version
305+
*/
306+
public void setMinimumUpdateMessage( String version ) {
307+
minimumUpdateVersion( version, null );
308+
}
309+
301310
/**
302311
* Set the oldest version which will be updated. If an already installed version is older then the update will be cancel.
303312
* A default error message is used.

0 commit comments

Comments
 (0)