Skip to content

Commit 18da149

Browse files
committed
Revert GoogleJavaFormatVersion
1 parent 0eb220d commit 18da149

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/src/main/java/com/google/googlejavaformat/java/GoogleJavaFormatVersion.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
package com.google.googlejavaformat.java;
1616

17+
import com.google.common.base.MoreObjects;
18+
1719
public class GoogleJavaFormatVersion {
18-
public static final String VERSION = "1.0";
20+
public static final String VERSION =
21+
MoreObjects.firstNonNull(Main.class.getPackage().getImplementationVersion(), "dev");
1922
}

0 commit comments

Comments
 (0)