Skip to content

Commit

Permalink
Make version provider public
Browse files Browse the repository at this point in the history
  • Loading branch information
mikera committed Aug 27, 2024
1 parent 16d1012 commit 538310c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions convex-cli/src/main/java/convex/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,16 @@ private void setupVerbosity() {
}

/**
* Version provider class
* Version provider class.
*
*/
private static final class VersionProvider implements IVersionProvider {
// Note: GitHub Maven builds seem to need this to be public?
public static final class VersionProvider implements IVersionProvider {
@Override
public String[] getVersion() throws Exception {
String s = Main.class.getPackage().getImplementationVersion();
return new String[] { "Convex version: " + s };
}

}

/**
Expand Down

0 comments on commit 538310c

Please sign in to comment.