Skip to content

Commit

Permalink
Increment lucene version (#235)
Browse files Browse the repository at this point in the history
* Increment lucene version
  • Loading branch information
bbimber authored Apr 28, 2023
1 parent 599ae6c commit 3075739
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ plugins {

import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

import javax.tools.ToolProvider

apply plugin: 'java'

repositories {
Expand Down Expand Up @@ -235,6 +233,7 @@ shadowJar {
archiveBaseName = project.name
archiveClassifier = ''
mergeServiceFiles('reference.conf')
dependsOn(distTar, distZip, startScripts)
}

task localJar{ dependsOn shadowJar }
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/discvrseq/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public static void main(final String[] args) {

@VisibleForTesting
protected boolean printOnlyVersion(final String[] args) {
System.out.println("Version: " + getClass().getPackage().getImplementationVersion());
if (args.length == 1 && ("--version".equals(args[0]) || "-v".equals(args[0]))) {
handleResult(getClass().getPackage().getImplementationVersion());
return true;
}
return false;
Expand Down

0 comments on commit 3075739

Please sign in to comment.